Skip to content

Commit

Permalink
Update error message to also apply to audit logs
Browse files Browse the repository at this point in the history
  • Loading branch information
NatashaAlker committed Jan 6, 2025
1 parent 97c3089 commit 6bab7eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public ResponseEntity<ExceptionResponse> handle(ConstraintViolationException ex)

@ExceptionHandler(NotFoundException.class)
public ResponseEntity<ExceptionResponse> handle(NotFoundException ex) {
log.error(writeLog("404, Unable to find requested account / application"));
log.error(writeLog("404, Unable to find requested account / application / audit"));

return ResponseEntity.status(HttpStatus.NOT_FOUND)
.body(generateExceptionResponse(ex.getMessage()));
Expand Down

0 comments on commit 6bab7eb

Please sign in to comment.