Browse Source

Revert "Suppress illegal state and folder closed exception"

This reverts commit 3137e3f3fb.
main
M66B 6 years ago
parent
commit
bc92c2baa8
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      app/src/main/java/eu/faircode/email/ServiceSynchronize.java

+ 1
- 2
app/src/main/java/eu/faircode/email/ServiceSynchronize.java View File

@ -637,8 +637,7 @@ public class ServiceSynchronize extends LifecycleService {
Log.e(Helper.TAG, folder.name + " " + ex + "\n" + Log.getStackTraceString(ex));
reportError(account.name, folder.name, ex);
if (!(ex instanceof IllegalStateException) && !(ex instanceof FolderClosedException))
db.folder().setFolderError(folder.id, Helper.formatThrowable(ex));
db.folder().setFolderError(folder.id, Helper.formatThrowable(ex));
synchronized (state) {
state.notifyAll();


Loading…
Cancel
Save