diff --git a/src/main/java/sopt/org/motivooServer/domain/auth/config/JwtAuthenticationFilter.java b/src/main/java/sopt/org/motivooServer/domain/auth/config/JwtAuthenticationFilter.java index eec4e748..0384c247 100644 --- a/src/main/java/sopt/org/motivooServer/domain/auth/config/JwtAuthenticationFilter.java +++ b/src/main/java/sopt/org/motivooServer/domain/auth/config/JwtAuthenticationFilter.java @@ -37,7 +37,10 @@ protected void doFilterInternal(@NonNull HttpServletRequest request, SecurityContextHolder.getContext().setAuthentication(authentication); } catch (NumberFormatException e) { log.error("refresh token은 유저 아이디를 담고있지 않습니다."); + } catch (Exception e) { + log.error("Spring Security doFilter 중에 발생한 에러: {}", e); } + // 다음 필터로 요청 전달 filterChain.doFilter(request, response); }