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:
parent
01a9d41ceb
commit
4a977691cc
@ -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())
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user