Skip to content

Commit

Permalink
Chore: log 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
1223v committed May 22, 2024
1 parent 52f4ea5 commit ef1d6be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public boolean isTokenValid(String token) {
JWT.require(jwtConfig.getAlgorithm()).build().verify(token);
return true;
} catch (Exception e) {

log.error("유효하지 않은 토큰입니다. {}", e.getMessage());
return false;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void onAuthenticationFailure(HttpServletRequest request, HttpServletRespo
ServletException {
response.setStatus(HttpServletResponse.SC_BAD_REQUEST);
response.getWriter().write("소셜 로그인 실패! 서버 로그를 확인해주세요.");

log.info("소셜 로그인에 실패했습니다. 에러 메시지 : {}", exception.getMessage());
}
}

0 comments on commit ef1d6be

Please sign in to comment.