diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-05-13 21:49:24 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-05-13 21:49:24 +0000 |
| commit | 26f321558a63a44a2a48e3df0980d2a4e07557cd (patch) | |
| tree | 7f7d997a898f57689fd2c6a2072a856496d17e2c | |
| parent | e31af73cd77cfc963dc003680f4b5042ee9cd6df (diff) | |
| parent | 449affe5d6821811dc5b11887a5bcbfa8a69287f (diff) | |
| download | nova-26f321558a63a44a2a48e3df0980d2a4e07557cd.tar.gz nova-26f321558a63a44a2a48e3df0980d2a4e07557cd.tar.xz nova-26f321558a63a44a2a48e3df0980d2a4e07557cd.zip | |
Merge "Show the cause of virt driver error"
| -rwxr-xr-x | nova/virt/driver.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/virt/driver.py b/nova/virt/driver.py index e2f9588a4..d0a670a3e 100755 --- a/nova/virt/driver.py +++ b/nova/virt/driver.py @@ -958,8 +958,8 @@ def load_compute_driver(virtapi, compute_driver=None): compute_driver, virtapi) return utils.check_isinstance(driver, ComputeDriver) - except ImportError as e: - LOG.error(_("Unable to load the virtualization driver: %s") % (e)) + except ImportError: + LOG.exception(_("Unable to load the virtualization driver")) sys.exit(1) |
