Skip to content

Commit 2796e76

Browse files
committed
fix: Linters
1 parent 9977df3 commit 2796e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integrations/pyramid/test_pyramid.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def tween_factory(handler, registry):
333333
def tween(request):
334334
try:
335335
response = handler(request)
336-
except:
336+
except Exception:
337337
mroute = request.matched_route
338338
if mroute and mroute.name in ("index",):
339339
return Response("bad request", status_code=400)

0 commit comments

Comments
 (0)