Skip to content

Commit

Permalink
🔥 remove unnecessary annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
HaiSeong committed Jul 23, 2024
1 parent 3571e3f commit 665e99e
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -23,7 +22,6 @@ public ResponseEntity<ProblemDetail> handleDomainException(DomainException ex) {
}

@ExceptionHandler(RuntimeException.class)
@ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR)
public ResponseEntity<ProblemDetail> handleException(RuntimeException ex) {
log.error(ex.getMessage(), ex);

Expand Down

0 comments on commit 665e99e

Please sign in to comment.