update feign to the latest stable version (#2999)

This commit is contained in:
William Cheng
2019-05-27 15:11:02 +08:00
committed by GitHub
parent e4f56d5906
commit 5c6824f569
11 changed files with 20 additions and 20 deletions
@@ -93,7 +93,7 @@ public class OAuth implements RequestInterceptor {
try {
accessTokenResponse = oauthClient.accessToken(tokenRequestBuilder.buildBodyMessage());
} catch (Exception e) {
throw new RetryableException(e.getMessage(), HttpMethod.POST, e, null);
throw new RetryableException(0, e.getMessage(), HttpMethod.POST, e, null);
}
if (accessTokenResponse != null && accessTokenResponse.getAccessToken() != null) {
setAccessToken(accessTokenResponse.getAccessToken(), accessTokenResponse.getExpiresIn());