diff options
| author | Ed Leafe <ed@leafe.com> | 2010-12-28 16:02:46 -0600 |
|---|---|---|
| committer | Ed Leafe <ed@leafe.com> | 2010-12-28 16:02:46 -0600 |
| commit | d531e873b97a8ff92d1534811f702e89a8cf60a7 (patch) | |
| tree | 75d2c5e5a44baeb1ddb2ce93d3e61d32f1225095 /nova/utils.py | |
| parent | ef8e4495f5ed195a08be6c02b3eb3326f6403bb6 (diff) | |
| parent | 675ca7c5f38af0fa1150936e881482aa20fdaa45 (diff) | |
merge from trunk
Diffstat (limited to 'nova/utils.py')
| -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) |
