We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 193a103 commit 2db01b4Copy full SHA for 2db01b4
.claude/.gitignore
app/src/gplay/java/eu/darken/capod/common/upgrade/core/data/BillingDataRepo.kt
@@ -24,9 +24,11 @@ class BillingDataRepo @Inject constructor(
24
) {
25
26
private val connectionProvider = billingClientConnectionProvider.connection
27
- .catch {
28
- log(TAG, ERROR) { "Unable to provide client connection:\n${it.asLog()}" }
29
- throw it
+ .retryWhen { cause, attempt ->
+ if (cause is CancellationException) return@retryWhen false
+ log(TAG, ERROR) { "Unable to provide client connection (attempt=$attempt):\n${cause.asLog()}" }
30
+ delay(60_000) // 60s between retries (upstream already did 5 quick retries)
31
+ true
32
}
33
.replayingShare(scope)
34
0 commit comments