Skip to content

Commit

Permalink
minor: json from string -> print out the wrong input
Browse files Browse the repository at this point in the history
  • Loading branch information
lvca committed Feb 5, 2025
1 parent 3fca7b1 commit faaa8de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public JSONObject(final String input) {
reader.setStrictness(Strictness.LENIENT);
object = JsonParser.parseReader(reader).getAsJsonObject();
} catch (Exception e) {
throw new JSONException("Invalid JSON object format", e);
throw new JSONException("Invalid JSON object format: " + input, e);
}
} else
object = new JsonObject();
Expand Down

0 comments on commit faaa8de

Please # to comment.