mirror of https://github.com/M66B/FairEmail.git
Prevent crash, consider idle exceptions as unrecoverable
This commit is contained in:
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…
Reference in New Issue