해결된 질문
작성
·
223
0
아래 코드 2번째 줄에 디버깅 포인트 걸고 실행해도 안걸리시는분들
@ExceptionHandler(MethodArgumentTypeMismatchException.class)
protected ResponseEntity<ErrorResponse> handleMethodArgumentTypeMismatchException(MethodArgumentTypeMismatchException e) {
log.error("handleMethodArgumentTypeMismatchException", e);
ErrorResponse errorResponse = ErrorResponse.of(HttpStatus.BAD_REQUEST.toString(), e.getMessage());
return ResponseEntity.status(HttpStatus.BAD_REQUEST)
.body(errorResponse);
}
디버깅 모드로 실행 해야 걸려요 그냥 실행 하면 안걸려요
답변