mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-23 19:26:17 +00:00
Ensure we print the status message if there is a GooglePay error.
This commit is contained in:
committed by
Cody Henthorne
parent
6b5117a609
commit
87f175a96b
@@ -102,7 +102,7 @@ class GooglePayApi(
|
||||
Activity.RESULT_CANCELED -> paymentRequestCallback.onCancelled()
|
||||
AutoResolveHelper.RESULT_ERROR -> {
|
||||
AutoResolveHelper.getStatusFromIntent(data)?.let {
|
||||
Log.w(TAG, "loadPaymentData failed with error code ${it.statusCode}")
|
||||
Log.w(TAG, "loadPaymentData failed with error code ${it.statusCode}: ${it.statusMessage}")
|
||||
paymentRequestCallback.onError()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user