Skip to content

Commit

Permalink
[feat #191] 임시 stackTrace 로그 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
dudxo committed Jan 14, 2025
1 parent 913d465 commit c68665e
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.dnd.gongmuin.security.handler;

import java.io.IOException;
import java.util.Arrays;

import org.springframework.security.core.AuthenticationException;
import org.springframework.security.web.AuthenticationEntryPoint;
Expand All @@ -21,7 +20,6 @@ public void commence(HttpServletRequest request, HttpServletResponse response,
AuthenticationException authException) throws IOException {

log.error("비인가 사용자 요청 -> 예외 발생 : {}", authException.getMessage());
log.error(Arrays.toString(authException.getStackTrace()));

response.setStatus(HttpServletResponse.SC_UNAUTHORIZED); // 401 Unauthorized
response.setContentType("application/json");
Expand Down

0 comments on commit c68665e

Please sign in to comment.