Fixed the log line
Fixed bug #877417 Change-Id: Iddb9a6d4eb798b0f41f0ef1ab01cb02d16d16dbe
This commit is contained in:
parent
4979baf61a
commit
7afc12b9a2
1
Authors
1
Authors
@ -120,6 +120,7 @@ Nirmal Ranganathan <nirmal.ranganathan@rackspace.com>
|
||||
Ollie Leahy <oliver.leahy@hp.com>
|
||||
Pádraig Brady <pbrady@redhat.com>
|
||||
Paul Voccio <paul@openstack.org>
|
||||
Philip Knouff <philip.knouff@mailtrust.com>
|
||||
Renuka Apte <renuka.apte@citrix.com>
|
||||
Ricardo Carrillo Cruz <emaildericky@gmail.com>
|
||||
Rick Clark <rick@openstack.org>
|
||||
|
@ -421,7 +421,7 @@ class Executor(wsgi.Application):
|
||||
return resp
|
||||
|
||||
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.status = 400
|
||||
resp.headers['Content-Type'] = 'text/xml'
|
||||
|
Loading…
x
Reference in New Issue
Block a user