From 9ba0176142af882ee6429d4fe97fd2a93d8c3915 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 24 Aug 2021 08:28:25 +0200 Subject: [PATCH] Reduce logging --- app/src/main/java/eu/faircode/email/ContactInfo.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ContactInfo.java b/app/src/main/java/eu/faircode/email/ContactInfo.java index b7e4620e08..f3639cb292 100644 --- a/app/src/main/java/eu/faircode/email/ContactInfo.java +++ b/app/src/main/java/eu/faircode/email/ContactInfo.java @@ -479,8 +479,10 @@ public class ContactInfo { Log.i(ex); else { if (ex instanceof FileNotFoundException || + ex instanceof CertificateException || ex instanceof CertPathValidatorException || - ex.getCause() instanceof CertPathValidatorException) + ex.getCause() instanceof CertPathValidatorException || + ex.getCause() instanceof CertificateException) Log.i(ex); else Log.e(ex);