Suppress connection failure

This commit is contained in:
M66B 2019-12-06 09:09:14 +01:00
parent 61a6d6d322
commit b41e81e652
1 changed files with 5 additions and 0 deletions

View File

@ -499,6 +499,11 @@ public class Log {
ex.getCause() instanceof SocketException)
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 &&
ex.getCause() instanceof ConnectionException &&
ex.getCause().getMessage() != null &&