summaryrefslogtreecommitdiffstats
path: root/nova/compute
diff options
context:
space:
mode:
authorJohannes Erdfelt <johannes.erdfelt@rackspace.com>2011-10-31 15:11:36 +0000
committerJohannes Erdfelt <johannes.erdfelt@rackspace.com>2011-10-31 16:42:47 +0000
commite2403739d5e866e011ecc45a4d5b20d5e0192997 (patch)
treef3593bac5cc6b934f4e122d8a55d02f8599e8bce /nova/compute
parent5b8133a83939fd552b569c4b034cef43907ea1ce (diff)
Log original dropped exception when a new exception occurs
If a exception is caught while processing a previous exception, make sure to log it so it doesn't silently get discarded Change-Id: Ic887db9c2592229970737daf5dd9732b2258877b
Diffstat (limited to 'nova/compute')
-rw-r--r--nova/compute/manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py
index f133ee133..054e682a5 100644
--- a/nova/compute/manager.py
+++ b/nova/compute/manager.py
@@ -470,7 +470,7 @@ class ComputeManager(manager.SchedulerDependentManager):
# be fixed once we have no-db-messaging
pass
except:
- with utils.original_exception_raised():
+ with utils.save_and_reraise_exception():
_deallocate_network()
def _get_instance_volume_bdms(self, context, instance_id):