Prevent DNS lookup ctor exception

pull/214/head
M66B 9 months ago
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…
Cancel
Save