Removed extra call from try/except.

This commit is contained in:
Brian Lamar
2011-04-12 09:37:06 -04:00
parent 7648621806
commit ae30b0a834

View File

@@ -245,13 +245,13 @@ class ComputeManager(manager.SchedulerDependentManager):
try:
self.driver.spawn(instance_ref)
self._update_launched_at(context, instance_id)
except Exception as ex: # pylint: disable=W0702
msg = _("Instance '%(instance_id)s' failed to spawn. Is "
"virtualization enabled in the BIOS? Details: "
"%(ex)s") % locals()
LOG.exception(msg)
self._update_launched_at(context, instance_id)
self._update_state(context, instance_id)
@exception.wrap_exception