synchronizePendingEvents: Fix stuck replaying flag

Similar to change I4628a574, the replaying flag has a chance to become
stuck as true if an exception is thrown while accumulating prunable
replication tasks, which happens before the earlier fix is relevant.
Catch and log the exception and continue since synchronizing with a
subset of prunable tasks isn't much of a problem.

Change-Id: I935c3252e8c3da63ac248b051380558b749ea76e
Release-Notes: Fixed chance for exceptions to block future distributor runs
1 file changed
tree: 8734ccd523c5d66708f33181cd07531fb676ed67
  1. .settings/
  2. src/
  3. .gitignore
  4. .mailmap
  5. BUILD
  6. LICENSE