Revert "Double check if folder exists on op error"

This reverts commit 2919ca93bb.
pull/194/merge
M66B 3 years ago
parent 6c08eb0095
commit b060d95116

@ -1998,11 +1998,9 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
} catch (Throwable ex) {
Log.e(folder.name, ex);
EntityLog.log(ServiceSynchronize.this, EntityLog.Type.Account, folder,
account.name + "/" + folder.name + " process " + ex + "\n" + android.util.Log.getStackTraceString(ex));
account.name + "/" + folder.name + " process " + Log.formatThrowable(ex, false));
db.folder().setFolderError(folder.id, Log.formatThrowable(ex));
// NO Mailbox doesn't exist
if (!(ex instanceof FolderNotFoundException) &&
iservice.getStore().getFolder(folder.name).exists())
if (!(ex instanceof FolderNotFoundException))
state.error(new Core.OperationCanceledExceptionEx("Process", ex));
} finally {
if (shouldClose) {

Loading…
Cancel
Save