Skip to content

Commit

Permalink
Merge pull request #1639 from jtpereyda/exception-handler-crash-fix
Browse files Browse the repository at this point in the history
fix #1638
  • Loading branch information
gracekarina authored Jan 6, 2022
2 parents 19bc11c + 9450df8 commit d29f6f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ private String getParseErrorMessage(String originalMessage, String location) {
return String.format("Unable to parse `%s`", location);
}
if (originalMessage.startsWith("Duplicate field")) {
return String.format(originalMessage + " in `%s`", location);
return String.format("%s in `%s`", originalMessage, location);
}
return originalMessage;
}
Expand Down

0 comments on commit d29f6f0

Please sign in to comment.