Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Portals committed Jun 22, 2024
1 parent 5a60676 commit f42cdb8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ public void handleAccessDeniedException(HttpServletResponse response) throws IOE
response.sendRedirect("/");
}

/*
TODO: This interferes with security filter chains other that web.
@ExceptionHandler(RuntimeException.class)
@ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR)
public ModelAndView handleRuntimeException(RuntimeException ex, HttpServletResponse response) {
Expand All @@ -65,4 +67,5 @@ public ModelAndView handleRuntimeException(RuntimeException ex, HttpServletRespo
return new ModelAndView("pages/error");
}
*/
}

0 comments on commit f42cdb8

Please sign in to comment.