Merge "Log exceptions deleting ZK nodes"

This commit is contained in:
Zuul 2018-12-01 03:51:02 +00:00 committed by Gerrit Code Review
commit b53f52653b
1 changed files with 5 additions and 1 deletions

View File

@ -106,7 +106,11 @@ class NodeDeleter(threading.Thread):
else:
node_exists = True
self.delete(self._zk, self._provider_manager, self._node, node_exists)
try:
self.delete(self._zk, self._provider_manager,
self._node, node_exists)
except Exception:
self.log.exception("Error deleting node %s:", self._node)
class PoolWorker(threading.Thread, stats.StatsReporter):