summary refs log tree commit diff
path: root/synapse/crypto/context_factory.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-03-24 16:13:19 +0000
committerErik Johnston <erik@matrix.org>2021-03-24 16:13:19 +0000
commitf36a060d2cf6fe641a07e26979da47aeedfb8321 (patch)
tree3a43b0f9149c6d6d845db010e4eb1b215c9bbe79 /synapse/crypto/context_factory.py
parentMerge remote-tracking branch 'origin/develop' into matrix-org-hotfixes (diff)
parentFixed undefined variable error in catchup (#9664) (diff)
downloadsynapse-f36a060d2cf6fe641a07e26979da47aeedfb8321.tar.xz
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
Diffstat (limited to 'synapse/crypto/context_factory.py')
-rw-r--r--synapse/crypto/context_factory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/crypto/context_factory.py b/synapse/crypto/context_factory.py

index 4ca13011e5..c644b4dfc5 100644 --- a/synapse/crypto/context_factory.py +++ b/synapse/crypto/context_factory.py
@@ -191,7 +191,7 @@ def _context_info_cb(ssl_connection, where, ret): # ... we further assume that SSLClientConnectionCreator has set the # '_synapse_tls_verifier' attribute to a ConnectionVerifier object. tls_protocol._synapse_tls_verifier.verify_context_info_cb(ssl_connection, where) - except: # noqa: E722, taken from the twisted implementation + except BaseException: # taken from the twisted implementation logger.exception("Error during info_callback") f = Failure() tls_protocol.failVerification(f)