mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-05-01 04:22:14 +00:00
Fix null result error handling (#150)
This commit is contained in:
parent
954c20e2c0
commit
6f16323c9c
@ -618,7 +618,7 @@ export class FluencePeer {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!result.result) {
|
if (result.result === undefined) {
|
||||||
throw 'Call to marine-js returned no error and empty result. Original request: ' + jsonify(req);
|
throw 'Call to marine-js returned no error and empty result. Original request: ' + jsonify(req);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user