mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-31 20:25:38 +00:00
Connection failure is unrecoverable
This commit is contained in:
parent
e7b9eb56b9
commit
02e58770e9
1 changed files with 2 additions and 1 deletions
|
@ -2246,7 +2246,8 @@ class Core {
|
|||
|
||||
void error(Throwable ex) {
|
||||
if (ex instanceof MessagingException &&
|
||||
(ex.getCause() instanceof SocketException ||
|
||||
("connection failure".equals(ex.getMessage()) ||
|
||||
ex.getCause() instanceof SocketException ||
|
||||
ex.getCause() instanceof ConnectionException))
|
||||
recoverable = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue