Cancel sync on closed folder

This commit is contained in:
M66B 2020-11-17 08:06:06 +01:00
parent 44c44571d1
commit fe0dcf587b
1 changed files with 2 additions and 0 deletions

View File

@ -467,6 +467,8 @@ class Core {
ex instanceof FolderNotFoundException ||
ex instanceof IllegalArgumentException ||
ex instanceof SQLiteConstraintException ||
(ex instanceof IllegalStateException &&
EntityOperation.SYNC.equals(op.name)) ||
(!ConnectionHelper.isIoError(ex) &&
(ex.getCause() instanceof BadCommandException ||
ex.getCause() instanceof CommandFailedException /* NO */)) ||