Merge "Translate info-level log messages for LOG.error"

This commit is contained in:
Jenkins 2016-12-05 21:31:28 +00:00 committed by Gerrit Code Review
commit b07473d388
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ class ResourceExceptionHandler(object):
# convert to webob exceptions.
if isinstance(ex_value, TypeError):
exc_info = (ex_type, ex_value, ex_traceback)
LOG.error(_("Exception handling resource: {0}").format(ex_value),
LOG.error(_LE("Exception handling resource: {0}").format(ex_value),
exc_info=exc_info)
raise webob.exc.HTTPBadRequest()