Merge "Log the exception-info when an error raises in hanlder"

This commit is contained in:
Zuul 2018-05-16 10:13:14 +00:00 committed by Gerrit Code Review
commit 7eaa24e7ed

View File

@ -62,7 +62,7 @@ class Retry(base.EventHandler):
LOG.debug('Report handler unhealthy %s', self._handler)
self._handler.set_health_status(healthy=False)
except Exception:
LOG.debug('Report handler unhealthy %s', self._handler)
LOG.exception('Report handler unhealthy %s', self._handler)
self._handler.set_health_status(healthy=False)
raise