Skip to content

Commit

Permalink
Fix crash issue on rainbow_onerror
Browse files Browse the repository at this point in the history
  • Loading branch information
oanguenot committed Jan 31, 2018
1 parent 0481083 commit 32f3407
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ class SDK {

listenToSDKError() {
this._nodeSDK.events.once("rainbow_onerror", (jsonMessage) => {
this._logger.log("debug", LOG_ID + "start() - Error!");
reject(jsonMessage);
this._logger.log("debug", LOG_ID + "listenToSDKError() - Error!", jsonMessage);
});
}

Expand Down

0 comments on commit 32f3407

Please sign in to comment.