Connection failure is unrecoverable

pull/156/head
M66B 6 years ago
parent e7b9eb56b9
commit 02e58770e9

@ -2246,7 +2246,8 @@ class Core {
void error(Throwable ex) { void error(Throwable ex) {
if (ex instanceof MessagingException && if (ex instanceof MessagingException &&
(ex.getCause() instanceof SocketException || ("connection failure".equals(ex.getMessage()) ||
ex.getCause() instanceof SocketException ||
ex.getCause() instanceof ConnectionException)) ex.getCause() instanceof ConnectionException))
recoverable = false; recoverable = false;

Loading…
Cancel
Save