1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-25 01:06:04 +00:00

Ignore folder not found for operations

This commit is contained in:
M66B 2020-10-20 14:33:29 +02:00
parent e97fb55969
commit d9711b6347

View file

@ -1379,7 +1379,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
ServiceSynchronize.this,
folder.name + " " + Log.formatThrowable(ex, false));
db.folder().setFolderError(folder.id, Log.formatThrowable(ex));
state.error(new OperationCanceledException("Process"));
if (!(ex instanceof FolderNotFoundException))
state.error(new OperationCanceledException("Process"));
} finally {
if (shouldClose) {
if (ifolder != null && ifolder.isOpen()) {