summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/utils.py')
-rw-r--r--nova/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/utils.py b/nova/utils.py
index 8119861c6..65d0c6829 100644
--- a/nova/utils.py
+++ b/nova/utils.py
@@ -1715,7 +1715,7 @@ class UndoManager(object):
for undo_func in reversed(self.undo_stack):
undo_func()
- def rollback_and_reraise(self, msg=None):
+ def rollback_and_reraise(self, msg=None, **kwargs):
"""Rollback a series of actions then re-raise the exception.
.. note:: (sirp) This should only be called within an
@@ -1723,6 +1723,6 @@ class UndoManager(object):
"""
with save_and_reraise_exception():
if msg:
- LOG.exception(msg)
+ LOG.exception(msg, **kwargs)
self._rollback()