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/virt | |
| parent | 05370d0aa85d0ecb7d51098ca0c42d96777e3a20 (diff) | |
| parent | e2403739d5e866e011ecc45a4d5b20d5e0192997 (diff) | |
Merge "Log original dropped exception when a new exception occurs"
Diffstat (limited to 'nova/virt')
| -rw-r--r-- | nova/virt/xenapi/vm_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/xenapi/vm_utils.py b/nova/virt/xenapi/vm_utils.py index 18ab0444b..296f9b0e4 100644 --- a/nova/virt/xenapi/vm_utils.py +++ b/nova/virt/xenapi/vm_utils.py @@ -505,7 +505,7 @@ w cls.create_vbd(session, vm_ref, vdi_ref, userdevice, bootable=False) except: - with utils.original_exception_raised(): + with utils.save_and_reraise_exception(): cls.destroy_vdi(session, vdi_ref) @classmethod |
