mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-04 06:20:26 +00:00
Fast fail sync with closed folder
This commit is contained in:
parent
440ac2a38e
commit
9f22dcbb79
1 changed files with 3 additions and 1 deletions
|
@ -463,7 +463,9 @@ class Core {
|
||||||
ex instanceof FileNotFoundException ||
|
ex instanceof FileNotFoundException ||
|
||||||
ex instanceof FolderNotFoundException ||
|
ex instanceof FolderNotFoundException ||
|
||||||
ex instanceof IllegalArgumentException ||
|
ex instanceof IllegalArgumentException ||
|
||||||
ex instanceof IllegalStateException ||
|
(ex instanceof IllegalStateException &&
|
||||||
|
EntityOperation.SYNC.equals(op.name) &&
|
||||||
|
"This operation is not allowed on a closed folder".equals(ex.getMessage())) ||
|
||||||
ex instanceof SQLiteConstraintException ||
|
ex instanceof SQLiteConstraintException ||
|
||||||
//ex.getCause() instanceof BadCommandException || // BAD
|
//ex.getCause() instanceof BadCommandException || // BAD
|
||||||
//ex.getCause() instanceof CommandFailedException || // NO
|
//ex.getCause() instanceof CommandFailedException || // NO
|
||||||
|
|
Loading…
Reference in a new issue