mirror of https://github.com/M66B/FairEmail.git
Skip retry when operation cancelled
This commit is contained in:
parent
6e686d4234
commit
7d87f2b444
|
@ -579,6 +579,7 @@ class Core {
|
||||||
ex instanceof FolderNotFoundException ||
|
ex instanceof FolderNotFoundException ||
|
||||||
ex instanceof IllegalArgumentException ||
|
ex instanceof IllegalArgumentException ||
|
||||||
ex instanceof SQLiteConstraintException ||
|
ex instanceof SQLiteConstraintException ||
|
||||||
|
ex instanceof OperationCanceledException ||
|
||||||
(!ConnectionHelper.isIoError(ex) &&
|
(!ConnectionHelper.isIoError(ex) &&
|
||||||
(ex.getCause() instanceof BadCommandException ||
|
(ex.getCause() instanceof BadCommandException ||
|
||||||
ex.getCause() instanceof CommandFailedException /* NO */) &&
|
ex.getCause() instanceof CommandFailedException /* NO */) &&
|
||||||
|
|
Loading…
Reference in New Issue