mirror of https://github.com/M66B/FairEmail.git
Suppress interrupted waitIfIdle
This commit is contained in:
parent
f1c8b75aba
commit
78d8c9e004
|
@ -1447,6 +1447,10 @@ public class Log {
|
||||||
ex.getCause() instanceof SocketException)
|
ex.getCause() instanceof SocketException)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
|
if (ex instanceof ProtocolException &&
|
||||||
|
ex.getCause() instanceof InterruptedException)
|
||||||
|
return null; // Interrupted waitIfIdle
|
||||||
|
|
||||||
if (ex instanceof MessagingException &&
|
if (ex instanceof MessagingException &&
|
||||||
("Not connected".equals(ex.getMessage()) || // POP3
|
("Not connected".equals(ex.getMessage()) || // POP3
|
||||||
"connection failure".equals(ex.getMessage()) ||
|
"connection failure".equals(ex.getMessage()) ||
|
||||||
|
|
Loading…
Reference in New Issue