diff options
| author | Armando Migliaccio <armando.migliaccio@citrix.com> | 2010-12-28 00:41:22 +0000 |
|---|---|---|
| committer | Tarmac <> | 2010-12-28 00:41:22 +0000 |
| commit | a40f3e0b14bc761b5f45ac6f5d927fbfdb85160b (patch) | |
| tree | b873393cb5a3d11cb051043dfdfe4c3dcb9578bd | |
| parent | 6a36c901b4e72b70ad69e27b50e598d053d4c749 (diff) | |
| parent | 1c00947aa86597d918d651b5385a6a4d72671c10 (diff) | |
| download | nova-a40f3e0b14bc761b5f45ac6f5d927fbfdb85160b.tar.gz nova-a40f3e0b14bc761b5f45ac6f5d927fbfdb85160b.tar.xz nova-a40f3e0b14bc761b5f45ac6f5d927fbfdb85160b.zip | |
fix bug #lp694311
| -rw-r--r-- | nova/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/utils.py b/nova/utils.py index b9045a50c..15112faa2 100644 --- a/nova/utils.py +++ b/nova/utils.py @@ -48,7 +48,8 @@ def import_class(import_str): try: __import__(mod_str) return getattr(sys.modules[mod_str], class_str) - except (ImportError, ValueError, AttributeError): + except (ImportError, ValueError, AttributeError), exc: + logging.debug(_('Inner Exception: %s'), exc) raise exception.NotFound(_('Class %s cannot be found') % class_str) |
