Skip to content

Commit 1a6b804

Browse files
committed
Chore(#33): 토큰 요청 메서드의 로그 위치 변경
1 parent 2820635 commit 1a6b804

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

client/google-oauth-client/src/main/java/com/wypl/googleoauthclient/GoogleOAuthClient.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,13 @@ private GoogleTokenResponse requestToken(MultiValueMap<String, String> params) {
5656
GoogleTokenResponse.class
5757
);
5858
} catch (HttpClientErrorException e) {
59-
log.warn(e.getMessage());
60-
6159
if (e.getMessage().contains("Malformed")) {
6260
throw new GoogleOAuthException(GoogleOAuthErrorCode.MALFORMED);
6361
}
6462
if (e.getMessage().contains("Bad Request")) {
6563
throw new GoogleOAuthException(GoogleOAuthErrorCode.BAD_REQUEST);
6664
}
65+
log.warn(e.getMessage());
6766
throw new WyplException(GlobalErrorCode.INTERNAL_SERVER_ERROR);
6867
}
6968
}

0 commit comments

Comments
 (0)