From 9f292d94212415db52f92c4fbda2ebeec14d5a44 Mon Sep 17 00:00:00 2001 From: JongwonYoun Date: Mon, 22 Feb 2021 23:10:48 +0900 Subject: [PATCH] feat: authException.printStackTrace() --- .../justmove/config/auth/CustomAuthenticationEntryPoint.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/justmove/config/auth/CustomAuthenticationEntryPoint.java b/src/main/java/justmove/config/auth/CustomAuthenticationEntryPoint.java index 9c26a86..ea91623 100644 --- a/src/main/java/justmove/config/auth/CustomAuthenticationEntryPoint.java +++ b/src/main/java/justmove/config/auth/CustomAuthenticationEntryPoint.java @@ -17,6 +17,7 @@ public void commence(HttpServletRequest request, HttpServletResponse response, System.out.println("CustomAuthenticationEntryPoint"); System.out.println(authException.getLocalizedMessage()); System.out.println(authException.getMessage()); + authException.printStackTrace(); response.setContentType(MediaType.APPLICATION_JSON_VALUE); response.setStatus(HttpStatus.UNAUTHORIZED.value()); }