From bcf86385aeb7200d38c7ee0e1628fe6de38291f6 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 3 Aug 2018 05:08:58 +0000 Subject: [PATCH] Consume message removed exception on processing operations --- app/src/main/java/eu/faircode/email/ServiceSynchronize.java | 3 ++- 1 file changed, 2 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 997ae67cc9..7aa9b513b1 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -658,9 +658,10 @@ public class ServiceSynchronize extends LifecycleService { operation.deleteOperation(op.id); } catch (MessageRemovedException ex) { + Log.w(Helper.TAG, ex + "\n" + Log.getStackTraceString(ex)); + // There is no use in repeating operation.deleteOperation(op.id); - throw ex; } } } finally {