From e5e3e0b76c3241ec1549e9f982aa28635c091703 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 28 Mar 2019 07:22:30 +0000 Subject: [PATCH] Catch store closed exception --- app/src/main/java/eu/faircode/email/ServiceSynchronize.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index b5675550f7..e816f0b3f0 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -1006,6 +1006,8 @@ public class ServiceSynchronize extends LifecycleService { } Log.i(account.name + " done state=" + state); + } catch (StoreClosedException ex) { + Log.w(ex); } catch (Throwable ex) { Log.e(account.name, ex); Core.reportError(this, account, null, ex);