From a0fe264ae7b81ff21fe6ef92f4c02ce45d5816e1 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 18 Oct 2018 07:55:32 +0000 Subject: [PATCH] Reset outbox errors --- 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 86b1a77844..6d77aaab74 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -1157,7 +1157,7 @@ public class ServiceSynchronize extends LifecycleService { EntityOperation.DELETE.equals(op.name) || EntityOperation.MOVE.equals(op.name) || EntityOperation.HEADERS.equals(op.name))) - throw new IllegalArgumentException(op.name + " without uid"); + throw new IllegalArgumentException(op.name + " without uid " + op.args); JSONArray jargs = new JSONArray(op.args); @@ -2139,6 +2139,7 @@ public class ServiceSynchronize extends LifecycleService { Log.i(Helper.TAG, outbox.name + " start operations"); db.folder().setFolderState(outbox.id, "syncing"); processOperations(outbox, null, null, null); + db.folder().setFolderError(outbox.id, null); } catch (Throwable ex) { Log.e(Helper.TAG, outbox.name + " " + ex + "\n" + Log.getStackTraceString(ex)); reportError(null, outbox.name, ex);