mirror of https://github.com/M66B/FairEmail.git
Suppress error
This commit is contained in:
parent
ae5a2a51ea
commit
7f16c1a23a
|
@ -1232,6 +1232,8 @@ public class ServiceSynchronize extends LifecycleService {
|
||||||
} catch (Throwable ex) {
|
} catch (Throwable ex) {
|
||||||
Log.e(folder.name, ex);
|
Log.e(folder.name, ex);
|
||||||
reportError(account, folder, ex);
|
reportError(account, folder, ex);
|
||||||
|
// IllegalStateException: sync when store disconnected
|
||||||
|
if (!(ex instanceof IllegalStateException))
|
||||||
db.folder().setFolderError(folder.id, Helper.formatThrowable(ex));
|
db.folder().setFolderError(folder.id, Helper.formatThrowable(ex));
|
||||||
state.error();
|
state.error();
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in New Issue