Skip to content

Commit

Permalink
feat: authException.printStackTrace()
Browse files Browse the repository at this point in the history
  • Loading branch information
korECM committed Feb 22, 2021
1 parent 494a1d4 commit 9f292d9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 9f292d9

Please sign in to comment.