Skip to content

Commit

Permalink
fix: add logging for unknown exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Kai Volland committed Apr 26, 2024
1 parent 3f473cf commit a38e1ab
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,9 @@ public Map<String, Boolean> isPublic(
} catch (ResponseStatusException rse) {
throw rse;
} catch (Exception e) {
throw new CreatePermissionException(e, messageSource);
log.error("Error while checking if entity is public: {}", e.getMessage());
log.trace("Full stack trace: ", e);
throw e;
}
}

Expand Down

0 comments on commit a38e1ab

Please sign in to comment.