Consume message removed exception on processing operations

This commit is contained in:
M66B
2018-08-03 05:08:58 +00:00
parent 4d6c41674d
commit bcf86385ae

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 {