From 03a86a3e5cdc25e225f2232b15c21869c46e66d2 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Sun, 2 Oct 2022 19:22:39 +0100 Subject: [PATCH] allowing the prefetching of local echos to fail --- app/src/main/kotlin/app/dapk/st/SmallTalkApplication.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/app/dapk/st/SmallTalkApplication.kt b/app/src/main/kotlin/app/dapk/st/SmallTalkApplication.kt index 1b28443..4997d90 100644 --- a/app/src/main/kotlin/app/dapk/st/SmallTalkApplication.kt +++ b/app/src/main/kotlin/app/dapk/st/SmallTalkApplication.kt @@ -58,7 +58,7 @@ class SmallTalkApplication : Application(), ModuleProvider { storeModule.credentialsStore().credentials()?.let { featureModules.pushModule.pushTokenRegistrar().registerCurrentToken() } - storeModule.localEchoStore.preload() + runCatching { storeModule.localEchoStore.preload() } } applicationScope.launch {