From 482aec8eb0dddf9c5e37a9c275ea49704b11ab0c Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 17 Apr 2019 08:00:35 +0200 Subject: [PATCH] Prevent crash --- app/src/main/java/eu/faircode/email/ServiceSynchronize.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index 0c265bc96c..8455977013 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -428,8 +428,6 @@ public class ServiceSynchronize extends LifecycleService { monitorAccount(account, astate); } catch (Throwable ex) { Log.e(account.name, ex); - EntityLog.log(ServiceSynchronize.this, account.name + " " + Helper.formatThrowable(ex)); - db.account().setAccountError(account.id, Helper.formatThrowable(ex)); } } }, "sync.account." + account.id);