Consume message removed exception on processing operations

pull/12/merge
M66B 6 years ago
parent 4d6c41674d
commit bcf86385ae

@ -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