Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 6ac144a

Browse files
committed
no response exception retrier
1 parent dda773e commit 6ac144a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

buildSrc/src/main/kotlin/org/gradle/api/publish/maven/internal/publisher/BintrayPublisher.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
package org.gradle.api.publish.maven.internal.publisher
66

7+
import org.apache.http.NoHttpResponseException
78
import org.gradle.internal.Factory
89
import org.gradle.internal.resource.ExternalResource
910
import org.gradle.internal.resource.ExternalResourceName
@@ -67,6 +68,8 @@ open class BintrayPublisher : MavenRemotePublisher {
6768
println("$displayName failed with ${httpExc.statusCode} - error")
6869
throw httpExc
6970
}
71+
} catch(noResponseExc: NoHttpResponseException) {
72+
println("$displayName failed with $noResponseExc - retry $retryCounter")
7073
}
7174
}
7275

0 commit comments

Comments
 (0)