Crowdin sync

This commit is contained in:
M66B
2018-12-29 18:44:18 +00:00
parent 0c3438935b
commit b384ba1828
4 changed files with 72 additions and 33 deletions

View File

@@ -132,7 +132,12 @@ public class Provider {
return Provider.fromISPDB(domain);
} catch (Throwable ex) {
Log.w(ex);
return Provider.fromDNS(domain);
try {
return Provider.fromDNS(domain);
} catch (UnknownHostException ex1) {
Log.w(ex1);
throw new IllegalArgumentException(context.getString(R.string.title_no_settings));
}
}
}