mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Cancel sync on closed folder
This commit is contained in:
parent
44c44571d1
commit
fe0dcf587b
1 changed files with 2 additions and 0 deletions
|
@ -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 */)) ||
|
||||
|
|
Loading…
Reference in a new issue