mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-13 03:12:35 +01:00
hotfix: Rethrow getDatabase exception
This commit is contained in:
parent
6ffbf16cff
commit
c8d3c9d614
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user