Skip to content

Commit

Permalink
VKT(Backend): Fix handleNoResourceFoundException argument type [deploy]
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoivisto committed Nov 15, 2024
1 parent d4072fd commit 91410b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public ResponseEntity<Object> handleOptimisticLockException(final OptimisticLock

@ExceptionHandler(NoResourceFoundException.class)
@ResponseStatus(HttpStatus.NOT_FOUND)
public ResponseEntity<Object> handleNoResourceFoundException(final NotFoundException ex) {
public ResponseEntity<Object> handleNoResourceFoundException(final NoResourceFoundException ex) {
LOG.error("NoResourceFoundException: " + ex.getMessage());
return notFound();
}
Expand Down

0 comments on commit 91410b3

Please sign in to comment.