IDEA-163760 TE at org.eclipse.jgit.transport.TransportHttp.connect — attempt once again to push on 502 error

This commit is contained in:
Vladimir Krivosheev
2016-11-28 16:58:37 +01:00
parent fa55fbe148
commit 5955937ccf
3 changed files with 3 additions and 0 deletions
Binary file not shown.
Binary file not shown.
@@ -193,6 +193,9 @@ class GitRepositoryManager(private val credentialsStore: Lazy<IcsCredentialsStor
throw AuthenticationException(e)
}
}
else if (e.status == TransportException.Status.BAD_GATEWAY) {
continue
}
else {
wrapIfNeedAndReThrow(e)
}