1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-03 21:55:13 +00:00

Suppress interrupted waitIfIdle

This commit is contained in:
M66B 2021-11-24 08:23:27 +01:00
parent f1c8b75aba
commit 78d8c9e004

View file

@ -1447,6 +1447,10 @@ public class Log {
ex.getCause() instanceof SocketException)
return null;
if (ex instanceof ProtocolException &&
ex.getCause() instanceof InterruptedException)
return null; // Interrupted waitIfIdle
if (ex instanceof MessagingException &&
("Not connected".equals(ex.getMessage()) || // POP3
"connection failure".equals(ex.getMessage()) ||