Small fix

This commit is contained in:
M66B 2020-04-16 19:19:18 +02:00
parent 36c050de84
commit f0bcd619d3
1 changed files with 7 additions and 1 deletions

View File

@ -62,7 +62,13 @@ public class DnsHelper {
continue; continue;
String domain = email.substring(d + 1); String domain = email.substring(d + 1);
try {
lookup(context, domain, "mx"); lookup(context, domain, "mx");
} catch (UnknownHostException ex) {
Log.i(ex);
throw new UnknownHostException(context.getString(R.string.title_no_server, domain));
}
} }
} }