Catch all quick config exceptions

This commit is contained in:
M66B 2019-06-21 21:22:29 +02:00
parent 8c2132fc56
commit 8bd364b050
1 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ public class EmailProvider {
try {
Log.i("Provider from DNS domain=" + domain);
return addSpecials(context, fromDNS(domain));
} catch (UnknownHostException ex) {
} catch (Throwable ex) {
Log.w(ex);
try {
Log.i("Provider from ISPDB domain=" + domain);
@ -161,7 +161,7 @@ public class EmailProvider {
try {
Log.i("Provider from template domain=" + domain);
return addSpecials(context, fromTemplate(domain));
} catch (UnknownHostException ex2) {
} catch (Throwable ex2) {
Log.w(ex2);
throw new UnknownHostException(context.getString(R.string.title_setup_no_settings, domain));
}