From 5fd12dce013ad46f171dde10245d78a225b12387 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 26 Apr 2017 12:36:26 +0100 Subject: [PATCH] Remove debugging --- synapse/http/client.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/synapse/http/client.py b/synapse/http/client.py index 6e0ddfa0f..379ddcb54 100644 --- a/synapse/http/client.py +++ b/synapse/http/client.py @@ -260,8 +260,7 @@ class SimpleHttpClient(object): errcode = jsonBody['errcode'] error = jsonBody['error'] return MatrixCodeMessageException(response.code, error, errcode) - except e: - print e + except: return CodeMessageException(response.code, body) # XXX: FIXME: This is horribly copy-pasted from matrixfederationclient.