Fixed the log line
Fixed bug #877417 Change-Id: Iddb9a6d4eb798b0f41f0ef1ab01cb02d16d16dbe
This commit is contained in:
1
Authors
1
Authors
@@ -120,6 +120,7 @@ Nirmal Ranganathan <nirmal.ranganathan@rackspace.com>
|
|||||||
Ollie Leahy <oliver.leahy@hp.com>
|
Ollie Leahy <oliver.leahy@hp.com>
|
||||||
Pádraig Brady <pbrady@redhat.com>
|
Pádraig Brady <pbrady@redhat.com>
|
||||||
Paul Voccio <paul@openstack.org>
|
Paul Voccio <paul@openstack.org>
|
||||||
|
Philip Knouff <philip.knouff@mailtrust.com>
|
||||||
Renuka Apte <renuka.apte@citrix.com>
|
Renuka Apte <renuka.apte@citrix.com>
|
||||||
Ricardo Carrillo Cruz <emaildericky@gmail.com>
|
Ricardo Carrillo Cruz <emaildericky@gmail.com>
|
||||||
Rick Clark <rick@openstack.org>
|
Rick Clark <rick@openstack.org>
|
||||||
|
@@ -421,7 +421,7 @@ class Executor(wsgi.Application):
|
|||||||
return resp
|
return resp
|
||||||
|
|
||||||
def _error(self, req, context, code, message):
|
def _error(self, req, context, code, message):
|
||||||
LOG.error("%s: %s", code, message, context=context)
|
LOG.error(_('%(code)s: %(message)s') % locals())
|
||||||
resp = webob.Response()
|
resp = webob.Response()
|
||||||
resp.status = 400
|
resp.status = 400
|
||||||
resp.headers['Content-Type'] = 'text/xml'
|
resp.headers['Content-Type'] = 'text/xml'
|
||||||
|
Reference in New Issue
Block a user