From d0d0960f1f9beafa259271afe6fb145cf63db76b Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 7 Feb 2021 18:15:26 +0100 Subject: [PATCH] Reduce logging --- app/src/main/java/eu/faircode/email/Core.java | 5 ++++- 1 file changed, 4 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 7f260fb0f4..a5a6de41af 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -1155,7 +1155,10 @@ class Core { onFetch(context, fargs, target, istore, itarget, state); } } catch (Throwable ex) { - Log.w(ex); + if (ex instanceof IllegalArgumentException) + Log.i(ex); + else + Log.e(ex); if (fetch) sync = true; }