Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Commit 6f16323

Browse files
authored
Fix null result error handling (#150)
1 parent 954c20e commit 6f16323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal/FluencePeer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ export class FluencePeer {
618618
};
619619
}
620620

621-
if (!result.result) {
621+
if (result.result === undefined) {
622622
throw 'Call to marine-js returned no error and empty result. Original request: ' + jsonify(req);
623623
}
624624

0 commit comments

Comments
 (0)