From 06d4c6dbdadf208e5db69eaa64ce58c297b26e10 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 17 Dec 2020 15:27:12 +0100 Subject: [PATCH] Added logging --- app/src/main/java/eu/faircode/email/Core.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index d24364894c..fa8d7c933e 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -183,8 +183,10 @@ class Core { throw new IllegalArgumentException("Invalid folder=" + folder.id + "/" + op.folder); if (account.protocol == EntityAccount.TYPE_IMAP && - !folder.local && ifolder != null && !ifolder.isOpen()) + !folder.local && ifolder != null && !ifolder.isOpen()) { + Log.w(folder.name + " is closed"); break; + } // Fetch most recent copy of message EntityMessage message = null;