forked from loafle/openapi-generator-original
update feign to the latest stable version (#2999)
This commit is contained in:
+1
-1
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user