diff options
| author | Cory Wright <cory.wright@rackspace.com> | 2010-12-28 10:50:18 -0500 |
|---|---|---|
| committer | Cory Wright <cory.wright@rackspace.com> | 2010-12-28 10:50:18 -0500 |
| commit | 3a3987d3acaa23a90131ab550e659f2611fed63a (patch) | |
| tree | 8269abe1ec96b4c93ca46900a4e58ef9b37b1ea9 /nova/utils.py | |
| parent | 002bbfa7a648a1117e14713eab3ee3ee4b2b6d8e (diff) | |
| parent | 675ca7c5f38af0fa1150936e881482aa20fdaa45 (diff) | |
| download | nova-3a3987d3acaa23a90131ab550e659f2611fed63a.tar.gz nova-3a3987d3acaa23a90131ab550e659f2611fed63a.tar.xz nova-3a3987d3acaa23a90131ab550e659f2611fed63a.zip | |
merge 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) |
