diff options
| author | Eric Day <eday@oddments.org> | 2010-12-30 19:37:56 -0800 |
|---|---|---|
| committer | Eric Day <eday@oddments.org> | 2010-12-30 19:37:56 -0800 |
| commit | 1ee171f37b7fbb2b5c4e97a5d95757d0649446bf (patch) | |
| tree | b915acbdd48aba26942d058117a0ac7ed6840f77 /nova/utils.py | |
| parent | 64078137ce12ee52fff710f5a262d57b4ace2809 (diff) | |
| parent | e0c83a438eb780407e94a7b48ff8f20fb1783a9f (diff) | |
| download | nova-1ee171f37b7fbb2b5c4e97a5d95757d0649446bf.tar.gz nova-1ee171f37b7fbb2b5c4e97a5d95757d0649446bf.tar.xz nova-1ee171f37b7fbb2b5c4e97a5d95757d0649446bf.zip | |
Merged 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) |
