Ignore folder not found for operations

This commit is contained in:
M66B 2020-10-20 14:33:29 +02:00
parent e97fb55969
commit d9711b6347
1 changed files with 2 additions and 1 deletions

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()) {