Skip retrying attachment operations

pull/187/head
M66B 4 years ago
parent a443f1299f
commit 8329d1108e

@ -467,6 +467,7 @@ class Core {
ex.getCause() instanceof MessageRemovedIOException || ex.getCause() instanceof MessageRemovedIOException ||
ex.getCause() instanceof BadCommandException || ex.getCause() instanceof BadCommandException ||
ex.getCause() instanceof CommandFailedException || ex.getCause() instanceof CommandFailedException ||
EntityOperation.ATTACHMENT.equals(op.name) ||
(ConnectionHelper.isIoError(ex) && (ConnectionHelper.isIoError(ex) &&
EntityFolder.DRAFTS.equals(folder.type) && EntityFolder.DRAFTS.equals(folder.type) &&
EntityOperation.ADD.equals(op.name))) { EntityOperation.ADD.equals(op.name))) {

Loading…
Cancel
Save