Skip to content

Commit

Permalink
[fix] global handler 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
elive7 committed May 30, 2024
1 parent 4e84b01 commit a7a0450
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ protected ResponseEntity<ErrorResponse> handleMethodArgumentNotValidException(Me

@ExceptionHandler(MethodArgumentTypeMismatchException.class)
protected ResponseEntity<ErrorResponse> handleMethodArgumentTypeMismatchException(
MethodArgumentNotValidException e) {
MethodArgumentTypeMismatchException e) {
return ResponseEntity.status(HttpStatus.BAD_REQUEST).body(ErrorResponse.of(HttpStatus.BAD_REQUEST.value(),
e.getMessage()));
}
Expand Down

0 comments on commit a7a0450

Please sign in to comment.