diff options
| author | Ilya Alekseyev <ialekseev@griddynamics.com> | 2010-12-29 17:17:06 +0300 |
|---|---|---|
| committer | Ilya Alekseyev <ialekseev@griddynamics.com> | 2010-12-29 17:17:06 +0300 |
| commit | 0dd84453db5d8a3293421049b92385b00a602fc3 (patch) | |
| tree | 7e30ff22eb268aebb9578dbfbf160b67c3319fb5 /nova/utils.py | |
| parent | f4da70ef42e5b8908f9979f2f80c60798a517c60 (diff) | |
| parent | 90acbd3dd834fdef6f1000b69dfba4d4c1d12fd5 (diff) | |
| download | nova-0dd84453db5d8a3293421049b92385b00a602fc3.tar.gz nova-0dd84453db5d8a3293421049b92385b00a602fc3.tar.xz nova-0dd84453db5d8a3293421049b92385b00a602fc3.zip | |
merge
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) |
