Skip to content

Commit

Permalink
refactor: 뷰 리졸버 처리 실패 시 예외 처리 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
miseongk committed Sep 25, 2023
1 parent e510279 commit e0ca93f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ protected void service(final HttpServletRequest request, final HttpServletRespon
final View view = getView(modelAndView);
final Map<String, Object> model = modelAndView.getModel();
view.render(model, request, response);
} catch (final HandlerMappingException e) {
throw new HandlerMappingException(e.getMessage());
} catch (final HandlerMappingException | ViewResolverException e) {
throw e;
} catch (final Throwable e) {
log.error("Exception : {}", e.getMessage(), e);
throw new ServletException(e.getMessage());
Expand Down

0 comments on commit e0ca93f

Please sign in to comment.