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.
master
Severiano Jaramillo 2019-10-01 17:38:50 -05:00
parent 5c6c727b00
commit 27f54e798e
1 changed files with 1 additions and 3 deletions

View File

@ -151,9 +151,7 @@ class SendTransactionFragment : ConnectedFragment(), ZXingScannerView.ResultHand
context?.let {
try {
wifKey = CryptoUtils.decrypt(it, encryptedWIF)
} catch (e: AEADBadTagException) {
Log.e(TAG, "AEADBadTagException. Class: " + e.javaClass + ", Msg: " + e.message)
} catch (e: IllegalStateException) {
} catch (e: Exception) {
Crashlytics.logException(e)
}
}