diff options
| author | Jenkins <jenkins@review.openstack.org> | 2011-11-03 17:28:43 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2011-11-03 17:28:43 +0000 |
| commit | 005db2d7d494115c05b68875dcf222a68abc0957 (patch) | |
| tree | c1c48cdbe6696fd418592d80ee66b061bab209e4 /nova/exception.py | |
| parent | 05370d0aa85d0ecb7d51098ca0c42d96777e3a20 (diff) | |
| parent | e2403739d5e866e011ecc45a4d5b20d5e0192997 (diff) | |
| download | nova-005db2d7d494115c05b68875dcf222a68abc0957.tar.gz nova-005db2d7d494115c05b68875dcf222a68abc0957.tar.xz nova-005db2d7d494115c05b68875dcf222a68abc0957.zip | |
Merge "Log original dropped exception when a new exception occurs"
Diffstat (limited to 'nova/exception.py')
| -rw-r--r-- | nova/exception.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index 5906c3aa5..1b80a0f56 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -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: |
