Merge "Log original dropped exception when a new exception occurs"
This commit is contained in:
@@ -107,6 +107,8 @@ def wrap_exception(notifier=None, publisher_id=None, event_type=None,
|
||||
# TODO(sandy): Find a way to import nova.notifier.api so we don't have
|
||||
# to pass it in as a parameter. Otherwise we get a cyclic import of
|
||||
# nova.notifier.api -> nova.utils -> nova.exception :(
|
||||
# TODO(johannes): Also, it would be nice to use
|
||||
# utils.save_and_reraise_exception() without an import loop
|
||||
def inner(f):
|
||||
def wrapped(*args, **kw):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user