Add logging for unknown exceptions
This commit is contained in:
parent
4aeb05813d
commit
42d7747641
1 changed files with 3 additions and 0 deletions
|
@ -161,6 +161,9 @@ internal class KVRestore(
|
||||||
} catch (e: AEADBadTagException) {
|
} catch (e: AEADBadTagException) {
|
||||||
Log.e(TAG, "Decryption failed", e)
|
Log.e(TAG, "Decryption failed", e)
|
||||||
TRANSPORT_ERROR
|
TRANSPORT_ERROR
|
||||||
|
} catch (e: Exception) {
|
||||||
|
Log.e(TAG, "Unknown error", e)
|
||||||
|
TRANSPORT_ERROR
|
||||||
} finally {
|
} finally {
|
||||||
dbManager.deleteDb(state.packageInfo.packageName, true)
|
dbManager.deleteDb(state.packageInfo.packageName, true)
|
||||||
this.state = null
|
this.state = null
|
||||||
|
|
Loading…
Reference in a new issue