mirror of https://github.com/M66B/FairEmail.git
Ignore folder not found for operations
This commit is contained in:
parent
e97fb55969
commit
d9711b6347
|
@ -1379,7 +1379,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||||
ServiceSynchronize.this,
|
ServiceSynchronize.this,
|
||||||
folder.name + " " + Log.formatThrowable(ex, false));
|
folder.name + " " + Log.formatThrowable(ex, false));
|
||||||
db.folder().setFolderError(folder.id, Log.formatThrowable(ex));
|
db.folder().setFolderError(folder.id, Log.formatThrowable(ex));
|
||||||
state.error(new OperationCanceledException("Process"));
|
if (!(ex instanceof FolderNotFoundException))
|
||||||
|
state.error(new OperationCanceledException("Process"));
|
||||||
} finally {
|
} finally {
|
||||||
if (shouldClose) {
|
if (shouldClose) {
|
||||||
if (ifolder != null && ifolder.isOpen()) {
|
if (ifolder != null && ifolder.isOpen()) {
|
||||||
|
|
Loading…
Reference in New Issue