Skip to content

Commit faaa8de

Browse files
committed
minor: json from string -> print out the wrong input
1 parent 3fca7b1 commit faaa8de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/src/main/java/com/arcadedb/serializer/json/JSONObject.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public JSONObject(final String input) {
8080
reader.setStrictness(Strictness.LENIENT);
8181
object = JsonParser.parseReader(reader).getAsJsonObject();
8282
} catch (Exception e) {
83-
throw new JSONException("Invalid JSON object format", e);
83+
throw new JSONException("Invalid JSON object format: " + input, e);
8484
}
8585
} else
8686
object = new JsonObject();

0 commit comments

Comments
 (0)