User friendly error messages

pull/194/merge
M66B 3 years ago
parent a1df8b003a
commit 09922a3ec2

@ -1575,15 +1575,13 @@ public class Log {
if (ex instanceof ConnectionException)
return null;
if (BuildConfig.PLAY_STORE_RELEASE &&
ex instanceof MailConnectException &&
if (ex instanceof MailConnectException &&
ex.getCause() instanceof SocketTimeoutException)
return null;
ex = new Throwable("No response received from email server", ex);
if (BuildConfig.PLAY_STORE_RELEASE &&
ex instanceof MessagingException &&
if (ex instanceof MessagingException &&
ex.getCause() instanceof UnknownHostException)
return null;
ex = new Throwable("Email server address lookup failed", ex);
if (ex instanceof StoreClosedException ||
ex instanceof FolderClosedException ||

Loading…
Cancel
Save