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:
parent
61a6d6d322
commit
b41e81e652
1 changed files with 5 additions and 0 deletions
|
@ -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 &&
|
||||||
|
|
Loading…
Reference in a new issue