add debug info for an exception

Change-Id: I4d569bbd1b22fa152de030f0185574904df08557
This commit is contained in:
Eyal 2017-03-13 12:14:09 +02:00
parent ab4080e34c
commit 177abe6062

View File

@ -45,8 +45,8 @@ class EventApis(EntityGraphApisBase):
event_type=event_type,
payload=event)
except Exception as e:
LOG.warn('Failed to post event %s. Exception: %s',
event_type, e)
LOG.warn('Failed to post event %s. Exception: %s', event_type, e)
LOG.debug(e, exc_info=True)
def _init_oslo_notifier(self):
self.oslo_notifier = None