From f0b74acef475b5ce140ea2fa35165077f22e7a2e Mon Sep 17 00:00:00 2001 From: KNU-K Date: Thu, 7 Aug 2025 15:22:40 +0900 Subject: [PATCH] fix: Update exception handler to use fully qualified class name for AuthenticationException --- .../mosuserver/global/exception/GlobalExceptionHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/life/mosu/mosuserver/global/exception/GlobalExceptionHandler.java b/src/main/java/life/mosu/mosuserver/global/exception/GlobalExceptionHandler.java index ba4125b5..c578e565 100644 --- a/src/main/java/life/mosu/mosuserver/global/exception/GlobalExceptionHandler.java +++ b/src/main/java/life/mosu/mosuserver/global/exception/GlobalExceptionHandler.java @@ -82,9 +82,9 @@ public ResponseEntity handleAuthenticationException(Authenticatio return ResponseEntity.status(HttpStatus.UNAUTHORIZED).body(response); } - @ExceptionHandler(AuthenticationException.class) + @ExceptionHandler(life.mosu.mosuserver.global.exception.AuthenticationException.class) public ResponseEntity handleCustomAuthenticationException( - AuthenticationException ex) { + life.mosu.mosuserver.global.exception.AuthenticationException ex) { notifyIfNeeded(ex); ErrorResponse response = ErrorResponse.builder()