diff options
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/api/openstack/__init__.py b/nova/api/openstack/__init__.py index 135a8c75b..6938ec58e 100644 --- a/nova/api/openstack/__init__.py +++ b/nova/api/openstack/__init__.py @@ -41,6 +41,8 @@ class FaultWrapper(base_wsgi.Middleware): return req.get_response(self.application) except Exception as ex: LOG.exception(_("Caught error: %s"), unicode(ex)) + msg_dict = dict(url=req.url, status=500) + LOG.info(_("%(url)s returned with HTTP %(status)d") % msg_dict) exc = webob.exc.HTTPInternalServerError() # NOTE(johannes): We leave the explanation empty here on # purpose. It could possibly have sensitive information |
