From c8d3c9d614986fbf3698493a568f9d6a62c15d1d 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; }