We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 413935b commit 63f752aCopy full SHA for 63f752a
1 file changed
services/flipcash/src/main/kotlin/com/flipcash/services/internal/billing/GooglePlayBillingClient.kt
@@ -31,6 +31,7 @@ import com.flipcash.services.internal.model.billing.Receipt
31
import com.flipcash.services.repository.PurchaseRepository
32
import com.flipcash.services.user.UserManager
33
import com.getcode.opencode.model.financial.CurrencyCode
34
+import com.getcode.utils.ErrorUtils
35
import com.getcode.utils.TraceType
36
import com.getcode.utils.trace
37
import com.google.common.collect.ImmutableList
@@ -199,7 +200,7 @@ internal class GooglePlayBillingClient(
199
200
).onSuccess {
201
acknowledgeOrConsume(item)
202
}.onFailure {
- it.printStackTrace()
203
+ ErrorUtils.handleError(it)
204
_eventFlow.emit(
205
IapPaymentEvent.OnError(
206
item.products.firstOrNull() ?: "NONE",
0 commit comments