mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Report on demand errors
This commit is contained in:
@@ -2272,6 +2272,8 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
synchronizeMessages(account, folder, (IMAPFolder) ifolder, folder.getSyncArgs(), new ServiceState());
|
||||
|
||||
} catch (Throwable ex) {
|
||||
Log.w(ex);
|
||||
reportError(account, folder, ex);
|
||||
db.account().setAccountError(account.id, Helper.formatThrowable(ex));
|
||||
db.folder().setFolderError(folder.id, Helper.formatThrowable(ex));
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user