From ff5982cfa3c9c8e45195e59df6903c3163b938cd Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 21 Feb 2019 09:17:16 +0000 Subject: [PATCH] Revert "Silence IDLE exceptions" This reverts commit 3b8191785340ebe65a890dc73a79200ffa1553a5. --- app/src/main/java/eu/faircode/email/ServiceSynchronize.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index 1b1576ab82..f1236d589f 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -1167,7 +1167,9 @@ public class ServiceSynchronize extends LifecycleService { ((IMAPFolder) ifolder).idle(false); } } catch (Throwable ex) { - Log.w(folder.name, ex); + Log.e(folder.name, ex); + reportError(account, folder, ex); + db.folder().setFolderError(folder.id, Helper.formatThrowable(ex)); state.error(); } finally { Log.i(folder.name + " end idle");