Fix logic around storage crash.
This commit is contained in:
parent
13e0b8dec0
commit
2cb67f6ee3
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,7 @@ public final class SqlCipherErrorHandler implements DatabaseErrorHandler {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
|
pragma1Passes = false;
|
||||||
output.append("Failed to do integrity_check!").append("\n")
|
output.append("Failed to do integrity_check!").append("\n")
|
||||||
.append(ExceptionUtil.convertThrowableToString(t));
|
.append(ExceptionUtil.convertThrowableToString(t));
|
||||||
}
|
}
|
||||||
|
@ -59,6 +60,7 @@ public final class SqlCipherErrorHandler implements DatabaseErrorHandler {
|
||||||
pragma2Passes = false;
|
pragma2Passes = false;
|
||||||
}
|
}
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
|
pragma2Passes = false;
|
||||||
output.append("Failed to do cipher_integrity_check!").append("\n")
|
output.append("Failed to do cipher_integrity_check!").append("\n")
|
||||||
.append(ExceptionUtil.convertThrowableToString(t));
|
.append(ExceptionUtil.convertThrowableToString(t));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue