From 665e99eaa9d4a01a37372f6e062052b538366823 Mon Sep 17 00:00:00 2001 From: haiseong Date: Tue, 23 Jul 2024 22:01:53 +0900 Subject: [PATCH] :fire: remove unnecessary annotation --- .../java/net/pengcook/exception/GlobalExceptionHandler.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/src/main/java/net/pengcook/exception/GlobalExceptionHandler.java b/backend/src/main/java/net/pengcook/exception/GlobalExceptionHandler.java index 98cca927..f5f5cb3d 100644 --- a/backend/src/main/java/net/pengcook/exception/GlobalExceptionHandler.java +++ b/backend/src/main/java/net/pengcook/exception/GlobalExceptionHandler.java @@ -5,7 +5,6 @@ import org.springframework.http.ProblemDetail; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.ExceptionHandler; -import org.springframework.web.bind.annotation.ResponseStatus; import org.springframework.web.bind.annotation.RestControllerAdvice; @Slf4j @@ -23,7 +22,6 @@ public ResponseEntity handleDomainException(DomainException ex) { } @ExceptionHandler(RuntimeException.class) - @ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR) public ResponseEntity handleException(RuntimeException ex) { log.error(ex.getMessage(), ex);