Skip to content

Commit

Permalink
refactor(Exception): NumberFormatException가 발생한 경우 BadRequest로 처리하도록 …
Browse files Browse the repository at this point in the history
…변경 (#350)
  • Loading branch information
limehee authored May 17, 2024
1 parent 83af919 commit c7ede44
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public class GlobalExceptionHandler {
HttpMessageNotReadableException.class,
MethodArgumentTypeMismatchException.class,
IllegalAccessException.class,
NumberFormatException.class,
})
public ErrorResponse badRequestException(HttpServletResponse response, Exception e) {
response.setStatus(HttpServletResponse.SC_OK);
Expand Down

0 comments on commit c7ede44

Please sign in to comment.