From 5132479a765c1ac3710b2d30a20ea58e138be51c Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 4 Feb 2020 12:42:25 +0100 Subject: [PATCH] Filter exception --- app/src/main/java/eu/faircode/email/Log.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/Log.java b/app/src/main/java/eu/faircode/email/Log.java index 87ca6554c7..c27297a937 100644 --- a/app/src/main/java/eu/faircode/email/Log.java +++ b/app/src/main/java/eu/faircode/email/Log.java @@ -301,7 +301,9 @@ public class Log { return false; if (ex instanceof IOException && - ("NetworkError".equals(ex.getMessage()) || // account manager + ex.getMessage() != null && + (ex.getMessage().startsWith("HTTP status=") || + "NetworkError".equals(ex.getMessage()) || // account manager "Resetting to invalid mark".equals(ex.getMessage()))) return false;