Skip to content

Commit

Permalink
fix call reject with error messages
Browse files Browse the repository at this point in the history
Signed-off-by: Amadeo Marchioni <amadeo.marchioni@iota.org>
  • Loading branch information
amadeu2 committed Mar 20, 2023
1 parent 05d2f5e commit 31be07d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void messageHandlerNew(final PluginCall call) throws JSONException {
ret.put("messageHandler", messageHandlerPointer);
call.resolve(ret);
} catch (Exception e) {
e.printStackTrace();
call.reject(ex.getMessage() + Arrays.toString(ex.getStackTrace()))
}
}

Expand Down

0 comments on commit 31be07d

Please sign in to comment.