Catch more stuff in SqlCipherDeletingErrorHandler.

Fixes #13577
This commit is contained in:
Greyson Parrelli
2024-06-05 11:28:06 -04:00
committed by Cody Henthorne
parent 6025e423e8
commit 1a103106a5

View File

@@ -48,6 +48,8 @@ public final class SqlCipherDeletingErrorHandler implements DatabaseErrorHandler
} catch (Throwable t) {
Log.e(TAG, "Failed to do cipher_integrity_check!", t);
}
} catch (Throwable t) {
Log.e(TAG, "Failed to run diagnostics!", t);
} finally {
Log.w(TAG, "Deleting database " + databaseName);
AppDependencies.getApplication().deleteDatabase(databaseName);