2021-zzimkkong icon indicating copy to clipboard operation
2021-zzimkkong copied to clipboard

[BE] 소셜 로그인 관련 Request 400대 에러 응답 > zzimkkong 에서도 400대로 처리하도록 수정

Open sakjung opened this issue 1 year ago • 2 comments

  • GoogleRequester, GithubRequester 의 getToken 메서드에서 WebClientResponseException 발생
  • ControllerAdvice에서 WebClientResponseException status code 참고해서 처리하도록 수정
  • 400대 에러 > 우리도 400대 에러 / 500대 에러 > 우리도 500대 에러
  • WebClientResponseException 내부 코드 까서 참고

[PROD] [ERROR] [http-nio-8080-exec-6] [d2e23882ae62] [RequestLoggingFilter:98] - [156ms] [500][HTTP METHOD: GET] [PATH INFO: /api/members/google/login/token] [REQUEST HEADER: x-forwarded-for:39.125.9.126, host:127.0.0.1:8080, connection:close, sec-ch-ua:"Chromium";v="110", "Not A(Brand";v="24", "Google Chrome";v="110", accept:application/json, text/plain, /, sec-ch-ua-mobile:?0, user-agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36, sec-ch-ua-platform:"macOS", origin:https://zzimkkong.com, sec-fetch-site:same-site, sec-fetch-mode:cors, sec-fetch-dest:empty, referer:https://zzimkkong.com/, accept-encoding:gzip, deflate, br, accept-language:en-US,en;q=0.9] [REQUEST PARAMETERS: {code=4/0AWtgzh7JEB2mY5MwiFFmpiRIN1lCywnBVD-iq3dFFolhX_ReXm16rsxQYSggNdYD7A8DoQ}] [REMOTE ADDRESS: 39.125.9.126] [RESPONSE: {"message":"일시적으로 접속이 원활하지 않습니다. 잠시 후 다시 이용해 주시기 바랍니다."}]

Slack Message

sakjung avatar Mar 28 '23 01:03 sakjung