We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee88681 commit 12baad3Copy full SHA for 12baad3
packages/powersync_sqlcipher/lib/src/sqlcipher.dart
@@ -31,11 +31,8 @@ class PowerSyncSQLCipherOpenFactory extends PowerSyncOpenFactory {
31
var db = super.open(options);
32
final versionRows = db.select('PRAGMA cipher_version');
33
if (versionRows.isEmpty) {
34
- throw AssertionError(
+ throw StateError(
35
"SQLCipher was not initialized correctly. 'PRAGMA cipher_version' returned no rows.");
36
- } else {
37
- //TODO: Remove before publishing
38
- print("RUNNING with cipher ${versionRows.rows.first}");
39
}
40
return db;
41
0 commit comments