Skip to content

Commit bdad571

Browse files
committed
fix: entryPoint 수정
1 parent b12db52 commit bdad571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/myteam/server/global/security/filter/AuthenticationEntryPointHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class AuthenticationEntryPointHandler implements AuthenticationEntryPoint
1818
@Override
1919
public void commence(HttpServletRequest request, HttpServletResponse response, AuthenticationException authException) throws IOException {
2020
logger.info("get in AuthenticationEntryPointHandler");
21-
logger.error("Authentication error: ", authException);
21+
logger.error("Authentication error: {}, url: {}", authException, request.getRequestURI());
2222
response.setContentType("application/json");
2323
response.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
2424
response.getWriter().write("{\"error\": \"UNAUTHORIZED\", \"message\": \"Invalid or expired token.\"}");

0 commit comments

Comments
 (0)