We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f285f1a commit 60bf6d3Copy full SHA for 60bf6d3
src/main/java/com/yocto/yoclib/jsonrpc/Message.java
@@ -99,7 +99,7 @@ public Object getErrorData() {
99
if (error instanceof JSONObject) {
100
JSONObject errorObj = (JSONObject) error;
101
if (errorObj.has("data")) {
102
- return errorObj.getInt("data");
+ return errorObj.get("data");
103
}
104
105
return null;
0 commit comments