Skip to content

Commit

Permalink
log json
Browse files Browse the repository at this point in the history
  • Loading branch information
petmongrels committed Jul 23, 2024
1 parent 82bb9c8 commit 1695510
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ public String post(String path, String json) {
String message = asString(httpResponse);
if (statusCode != HttpStatus.SC_CREATED && statusCode != HttpStatus.SC_OK) {
logger.error(message);
logger.error(json);
throw new RuntimeException("Post failed");
}
return message;
Expand Down

0 comments on commit 1695510

Please sign in to comment.