mirror of https://github.com/M66B/FairEmail.git
Cancel sync on closed folder
This commit is contained in:
parent
44c44571d1
commit
fe0dcf587b
|
@ -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 New Issue