mirror of https://github.com/M66B/FairEmail.git
Small fix
This commit is contained in:
parent
36c050de84
commit
f0bcd619d3
|
@ -62,7 +62,13 @@ public class DnsHelper {
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
String domain = email.substring(d + 1);
|
String domain = email.substring(d + 1);
|
||||||
lookup(context, domain, "mx");
|
|
||||||
|
try {
|
||||||
|
lookup(context, domain, "mx");
|
||||||
|
} catch (UnknownHostException ex) {
|
||||||
|
Log.i(ex);
|
||||||
|
throw new UnknownHostException(context.getString(R.string.title_no_server, domain));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue