diff --git a/src/main/java/com/verby/indp/domain/common/exception/ControllerAdvice.java b/src/main/java/com/verby/indp/domain/common/exception/ControllerAdvice.java index 6c5dcf2..519c5f9 100644 --- a/src/main/java/com/verby/indp/domain/common/exception/ControllerAdvice.java +++ b/src/main/java/com/verby/indp/domain/common/exception/ControllerAdvice.java @@ -16,8 +16,8 @@ public ResponseEntity handleBusinessException(BusinessException e return ResponseEntity.status(exception.getStatusCode()).body(new ErrorResponse(exception.getMessage())); } - @ExceptionHandler(RuntimeException.class) - public ResponseEntity handleException(RuntimeException exception) { + @ExceptionHandler(Exception.class) + public ResponseEntity handleException(Exception exception) { String exName = exception.getClass().getSimpleName(); String exMessage = exception.getMessage(); log.error("[Exception] exName=[{}] exMessage=[{}]", exName, exMessage);