From 42d7747641df0f43478c992728370256f0d29098 Mon Sep 17 00:00:00 2001 From: Steve Soltys Date: Wed, 25 Sep 2024 01:57:22 +0000 Subject: [PATCH] Add logging for unknown exceptions --- .../com/stevesoltys/seedvault/transport/restore/KVRestore.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/com/stevesoltys/seedvault/transport/restore/KVRestore.kt b/app/src/main/java/com/stevesoltys/seedvault/transport/restore/KVRestore.kt index 5b645e11..97a323ee 100644 --- a/app/src/main/java/com/stevesoltys/seedvault/transport/restore/KVRestore.kt +++ b/app/src/main/java/com/stevesoltys/seedvault/transport/restore/KVRestore.kt @@ -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