hotfix: Rethrow getDatabase exception
This commit is contained in:
parent
44a5acd0ab
commit
d1abe8c61d
|
@ -36,6 +36,8 @@ Future<Database> getDatabase(Client client) async {
|
|||
await store.setItem('database-password', password);
|
||||
}
|
||||
return _db;
|
||||
} catch (_) {
|
||||
rethrow;
|
||||
} finally {
|
||||
_generateDatabaseLock = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue