Skip to content

Commit

Permalink
Add logging for unknown exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
stevesoltys committed Sep 25, 2024
1 parent 2afb842 commit 7c1785e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ internal class KVRestore(
} catch (e: AEADBadTagException) {
Log.e(TAG, "Decryption failed", e)
TRANSPORT_ERROR
} catch (e: Exception) {
Log.e(TAG, "Unknown error", e)
TRANSPORT_ERROR
} finally {
dbManager.deleteDb(state.packageInfo.packageName, true)
this.state = null
Expand Down

0 comments on commit 7c1785e

Please sign in to comment.