Prevent crash, consider idle exceptions as unrecoverable

pull/156/head
M66B 5 years ago
parent df8d10b254
commit c22badd520

@ -853,9 +853,7 @@ public class ServiceSynchronize extends LifecycleService {
}
} catch (Throwable ex) {
Log.e(folder.name, ex);
Core.reportError(ServiceSynchronize.this, account, folder, ex);
db.folder().setFolderError(folder.id, Helper.formatThrowable(ex, true));
state.error(ex);
state.error(new FolderClosedException(ifolder, "IDLE"));
} finally {
Log.i(folder.name + " end idle");
}

Loading…
Cancel
Save