diff options
| author | Justin Santa Barbara <justin@fathomdb.com> | 2011-03-24 04:36:23 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-03-24 04:36:23 +0000 |
| commit | 6eef7ff7a809fa1c5856614d54b580082fe5806c (patch) | |
| tree | 0893538fcb201a5db603534be20e05f1b633ee2b | |
| parent | e9d02084b69e4eb5be1c88b014a59f63ef4a9046 (diff) | |
| parent | a822941d1fbfcfff7d52e2e42f2a50cb8aca6f0d (diff) | |
| download | nova-6eef7ff7a809fa1c5856614d54b580082fe5806c.tar.gz nova-6eef7ff7a809fa1c5856614d54b580082fe5806c.tar.xz nova-6eef7ff7a809fa1c5856614d54b580082fe5806c.zip | |
better logging of exceptions
| -rw-r--r-- | nova/compute/manager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 432270467..09af03564 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -121,8 +121,8 @@ class ComputeManager(manager.Manager): try: self.driver = utils.import_object(compute_driver) - except ImportError: - LOG.error("Unable to load the virtualization driver.") + except ImportError as e: + LOG.error(_("Unable to load the virtualization driver: %s") % (e)) sys.exit(1) self.network_manager = utils.import_object(FLAGS.network_manager) |
