1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-28 00:35:58 +00:00

Suppress connection failure

This commit is contained in:
M66B 2019-12-06 09:09:14 +01:00
parent 61a6d6d322
commit b41e81e652

View file

@ -499,6 +499,11 @@ public class Log {
ex.getCause() instanceof SocketException) ex.getCause() instanceof SocketException)
return null; return null;
if (ex instanceof MessagingException &&
("connection failure".equals(ex.getMessage()) ||
"failed to create new store connection".equals(ex.getMessage())))
return null;
if (ex instanceof MessagingException && if (ex instanceof MessagingException &&
ex.getCause() instanceof ConnectionException && ex.getCause() instanceof ConnectionException &&
ex.getCause().getMessage() != null && ex.getCause().getMessage() != null &&