From d1abe8c61d78b771d4c208ef18e813df9c7f85e4 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sun, 4 Oct 2020 11:25:07 +0200 Subject: [PATCH] hotfix: Rethrow getDatabase exception --- lib/utils/famedlysdk_store.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/utils/famedlysdk_store.dart b/lib/utils/famedlysdk_store.dart index 5752ce7..95386f3 100644 --- a/lib/utils/famedlysdk_store.dart +++ b/lib/utils/famedlysdk_store.dart @@ -36,6 +36,8 @@ Future getDatabase(Client client) async { await store.setItem('database-password', password); } return _db; + } catch (_) { + rethrow; } finally { _generateDatabaseLock = false; }