mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-22 14:11:00 +00:00
User readable MX error
This commit is contained in:
parent
375654b3be
commit
98e69c1338
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ public class DnsHelper {
|
|||
String error = "Error " + lookup.getResult() + ": " + lookup.getErrorString();
|
||||
if (lookup.getResult() == Lookup.HOST_NOT_FOUND ||
|
||||
lookup.getResult() == Lookup.TYPE_NOT_FOUND)
|
||||
throw new UnknownHostException(error);
|
||||
throw new UnknownHostException(context.getString(R.string.title_no_server, domain));
|
||||
else
|
||||
Log.e(error);
|
||||
} catch (UnknownHostException ex) {
|
||||
|
|
Loading…
Reference in a new issue