summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTushar Patil <tushar.vitthal.patil@gmail.com>2011-01-31 14:43:03 -0800
committerTushar Patil <tushar.vitthal.patil@gmail.com>2011-01-31 14:43:03 -0800
commitcf5e4de7019091ee931ea911d69732c25a2cc1dd (patch)
treee4c5b53167501551f005bbd032dd41cafd7cc418
parentb1caafa03d0fb36c9df5502282c4267974d1b889 (diff)
downloadnova-cf5e4de7019091ee931ea911d69732c25a2cc1dd.tar.gz
nova-cf5e4de7019091ee931ea911d69732c25a2cc1dd.tar.xz
nova-cf5e4de7019091ee931ea911d69732c25a2cc1dd.zip
Fix for LP Bug #709510
-rw-r--r--nova/api/openstack/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/api/openstack/__init__.py b/nova/api/openstack/__init__.py
index c70bb39ed..056c7dd27 100644
--- a/nova/api/openstack/__init__.py
+++ b/nova/api/openstack/__init__.py
@@ -51,8 +51,8 @@ class FaultWrapper(wsgi.Middleware):
try:
return req.get_response(self.application)
except Exception as ex:
- LOG.exception(_("Caught error: %s"), str(ex))
- exc = webob.exc.HTTPInternalServerError(explanation=str(ex))
+ LOG.exception(_("Caught error: %s"), unicode(ex))
+ exc = webob.exc.HTTPInternalServerError(explanation=unicode(ex))
return faults.Fault(exc)