Suppress interrupted waitIfIdle

This commit is contained in:
M66B 2021-11-24 08:23:27 +01:00
parent f1c8b75aba
commit 78d8c9e004
1 changed files with 4 additions and 0 deletions

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()) ||