hotfix: Rethrow getDatabase exception

This commit is contained in:
Christian Pauly 2020-10-04 11:25:07 +02:00 committed by Inex Code
parent 44a5acd0ab
commit d1abe8c61d

View file

@ -36,6 +36,8 @@ Future<Database> getDatabase(Client client) async {
await store.setItem('database-password', password); await store.setItem('database-password', password);
} }
return _db; return _db;
} catch (_) {
rethrow;
} finally { } finally {
_generateDatabaseLock = false; _generateDatabaseLock = false;
} }