Skip retry when operation cancelled

This commit is contained in:
M66B 2022-02-20 10:10:03 +01:00
parent 6e686d4234
commit 7d87f2b444
1 changed files with 1 additions and 0 deletions

View File

@ -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 */) &&