From 76d888cf48f22144457e11c88a09c4b973afcfc7 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Thu, 29 Nov 2018 11:50:11 +0000 Subject: [PATCH] pep8 --- synapse/http/endpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/http/endpoint.py b/synapse/http/endpoint.py index df528113a4..a35c971cc9 100644 --- a/synapse/http/endpoint.py +++ b/synapse/http/endpoint.py @@ -197,7 +197,7 @@ class _WrappedConnection(object): try: if self.transport.getHandle() is not None: self.transport.abortConnection() - except: + except Exception: logger.warning("Failed to abort connection") def request(self, request):