mirror of https://github.com/M66B/FairEmail.git
Prevent DNS lookup ctor exception
This commit is contained in:
parent
fbc829cb19
commit
96ca9d3144
|
@ -245,7 +245,9 @@ public class DnsHelper {
|
|||
record.query = name;
|
||||
|
||||
return result.toArray(new DnsRecord[0]);
|
||||
} catch (TextParseException ex) {
|
||||
} catch (Throwable ex) {
|
||||
// TextParseException
|
||||
// Lookup static ctor: RuntimeException("Failed to initialize resolver")
|
||||
Log.e(ex);
|
||||
return new DnsRecord[0];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue