Refactoring

pull/184/head
M66B 4 years ago
parent d7d0f244e9
commit 2309cac713

@ -365,7 +365,8 @@ public class EmailService implements AutoCloseable {
throw ex; throw ex;
} catch (MailConnectException ex) { } catch (MailConnectException ex) {
if (ConnectionHelper.vpnActive(context)) { if (ConnectionHelper.vpnActive(context)) {
MailConnectException mex = new MailConnectException(new SocketConnectException( MailConnectException mex = new MailConnectException(
new SocketConnectException(
context.getString(R.string.title_service_vpn), context.getString(R.string.title_service_vpn),
new Exception(), new Exception(),
ex.getHost(), ex.getHost(),

Loading…
Cancel
Save