mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-22 07:42:52 +00:00
Consume message removed exception on processing operations
This commit is contained in:
parent
4d6c41674d
commit
bcf86385ae
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue