1
0
Fork 0
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:
M66B 2020-11-17 08:06:06 +01:00
parent 44c44571d1
commit fe0dcf587b

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