Log exception in SendTransaction to Crashlytics.
- A user is having issues with its active private key, but we have not enugh information to solve the problem. A possible exception causing this issue will be logged to Crashlytics so that we can understand what is going on and solve it.
This commit is contained in:
parent
5c6c727b00
commit
27f54e798e
1 changed files with 1 additions and 3 deletions
|
@ -151,9 +151,7 @@ class SendTransactionFragment : ConnectedFragment(), ZXingScannerView.ResultHand
|
||||||
context?.let {
|
context?.let {
|
||||||
try {
|
try {
|
||||||
wifKey = CryptoUtils.decrypt(it, encryptedWIF)
|
wifKey = CryptoUtils.decrypt(it, encryptedWIF)
|
||||||
} catch (e: AEADBadTagException) {
|
} catch (e: Exception) {
|
||||||
Log.e(TAG, "AEADBadTagException. Class: " + e.javaClass + ", Msg: " + e.message)
|
|
||||||
} catch (e: IllegalStateException) {
|
|
||||||
Crashlytics.logException(e)
|
Crashlytics.logException(e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue