Browse Source

Consume message removed exception on processing operations

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

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

@ -658,9 +658,10 @@ public class ServiceSynchronize extends LifecycleService {
operation.deleteOperation(op.id);
} catch (MessageRemovedException ex) {
Log.w(Helper.TAG, ex + "\n" + Log.getStackTraceString(ex));
// There is no use in repeating
operation.deleteOperation(op.id);
throw ex;
}
}
} finally {


Loading…
Cancel
Save