Follow effective Neutron guidelines

Don't pass exceptions into LOG.exception: it is already
implicitly included

TrivialFix

Change-Id: Ie3033bfe9a0a42976c150a95ff94e7b3056099bb
This commit is contained in:
Gary Kotton 2016-05-30 23:20:53 -07:00
parent 01a9d41ceb
commit 4a977691cc
1 changed files with 2 additions and 2 deletions

View File

@ -642,8 +642,8 @@ class Resource(Application):
#NOTE(salvatore-orlando): the controller method must have
# an argument whose name is 'request'
return controller_method(request=request, **action_args)
except TypeError as exc:
LOG.exception(exc)
except TypeError:
LOG.exception(_LE('Invalid request'))
return Fault(webob.exc.HTTPBadRequest())