Skip to content

Commit

Permalink
add error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed Feb 16, 2024
1 parent 0eaf5bc commit 7e0ef4b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ public void checkPermissionWithContext(INodeAttributeProvider.AuthorizationConte
try {
prettyPrinted = json.writerWithDefaultPrettyPrinter().writeValueAsString(query);
} catch (JsonProcessingException e) {
LOG.error("Could not pretty print the following request body (but non-pretty print did work): {}", body);
throw new OpaException.SerializeFailed(e);
}

Expand Down

0 comments on commit 7e0ef4b

Please sign in to comment.