From 4a977691cc77822d7e15aef2b9acc1ca75a81447 Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Mon, 30 May 2016 23:20:53 -0700 Subject: [PATCH] Follow effective Neutron guidelines Don't pass exceptions into LOG.exception: it is already implicitly included TrivialFix Change-Id: Ie3033bfe9a0a42976c150a95ff94e7b3056099bb --- neutron/wsgi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neutron/wsgi.py b/neutron/wsgi.py index 684fb69cb87..62be9eaeb51 100644 --- a/neutron/wsgi.py +++ b/neutron/wsgi.py @@ -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())