Prevent crash, consider idle exceptions as unrecoverable

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

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

Loading…
Cancel
Save