Skip to content

Commit 7e0ef4b

Browse files
committed
add error logging
1 parent 0eaf5bc commit 7e0ef4b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/tech/stackable/hadoop/StackableAccessControlEnforcer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ public void checkPermissionWithContext(INodeAttributeProvider.AuthorizationConte
121121
try {
122122
prettyPrinted = json.writerWithDefaultPrettyPrinter().writeValueAsString(query);
123123
} catch (JsonProcessingException e) {
124+
LOG.error("Could not pretty print the following request body (but non-pretty print did work): {}", body);
124125
throw new OpaException.SerializeFailed(e);
125126
}
126127

0 commit comments

Comments
 (0)