Log the exception-info when an error raises in hanlder
should make the debug and troubleshooting easier. Change-Id: I5db66a1dd5ac2ad3f6ed9d8ddeffd12438f590d5
This commit is contained in:
parent
db9d28da79
commit
87bd64c9a2
@ -68,7 +68,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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user