diff options
author | Tushar Patil <tushar.vitthal.patil@gmail.com> | 2011-01-31 14:43:03 -0800 |
---|---|---|
committer | Tushar Patil <tushar.vitthal.patil@gmail.com> | 2011-01-31 14:43:03 -0800 |
commit | cf5e4de7019091ee931ea911d69732c25a2cc1dd (patch) | |
tree | e4c5b53167501551f005bbd032dd41cafd7cc418 | |
parent | b1caafa03d0fb36c9df5502282c4267974d1b889 (diff) | |
download | nova-cf5e4de7019091ee931ea911d69732c25a2cc1dd.tar.gz nova-cf5e4de7019091ee931ea911d69732c25a2cc1dd.tar.xz nova-cf5e4de7019091ee931ea911d69732c25a2cc1dd.zip |
Fix for LP Bug #709510
-rw-r--r-- | nova/api/openstack/__init__.py | 4 |
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) |