Not connected is unrecoverable

pull/156/head
M66B 5 years ago
parent 4e2999b61d
commit 2f743bd424

@ -2139,8 +2139,9 @@ class Core {
if (ex instanceof FolderClosedException)
recoverable = false;
if (ex instanceof IllegalStateException &&
"This operation is not allowed on a closed folder".equals(ex.getMessage()))
if (ex instanceof IllegalStateException && (
"Not connected".equals(ex.getMessage()) ||
"This operation is not allowed on a closed folder".equals(ex.getMessage())))
recoverable = false;
thread.interrupt();

Loading…
Cancel
Save