From 208fe6572541c4c63a7c3a27c7ad1937c4ca1f11 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 6 Jan 2024 09:00:12 +0100 Subject: [PATCH] Reduced logging --- app/src/main/java/eu/faircode/email/DnsHelper.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/DnsHelper.java b/app/src/main/java/eu/faircode/email/DnsHelper.java index 0b4d52799f..37e982af4f 100644 --- a/app/src/main/java/eu/faircode/email/DnsHelper.java +++ b/app/src/main/java/eu/faircode/email/DnsHelper.java @@ -42,6 +42,7 @@ import org.minidns.dnssec.DnssecResultNotAuthenticException; import org.minidns.dnssec.DnssecValidationFailedException; import org.minidns.dnsserverlookup.AbstractDnsServerLookupMechanism; import org.minidns.hla.DnssecResolverApi; +import org.minidns.hla.ResolutionUnsuccessfulException; import org.minidns.hla.ResolverApi; import org.minidns.hla.ResolverResult; import org.minidns.record.A; @@ -324,6 +325,7 @@ public class DnsHelper { return result.toArray(new DnsRecord[0]); } catch (Throwable ex) { if (ex instanceof MultipleIoException || + ex instanceof ResolutionUnsuccessfulException || ex instanceof DnssecValidationFailedException || ex instanceof DnssecResultNotAuthenticException) Log.i(ex);