Skip to content

Commit

Permalink
P4ADEV-1781 fix bitwise or
Browse files Browse the repository at this point in the history
  • Loading branch information
serdimic committed Dec 20, 2024
1 parent 1e77889 commit 494df5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public ResponseEntity<ErrorMessage> resourceNotFoundException(ResourceNotFoundEx
}

private void logException(Exception ex, HttpServletRequest request, HttpStatus httpStatus, Level level, boolean printStackTrace) {
printStackTrace = printStackTrace | log.isTraceEnabled();
printStackTrace = printStackTrace || log.isTraceEnabled();
log.atLevel(level)
.setCause(printStackTrace ? ex : null)
.log("A {} occurred handling request {} {} - HttpStatus {} - {}",
Expand Down

0 comments on commit 494df5d

Please sign in to comment.