diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2021-10-15 13:10:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-15 13:10:58 +0100 |
commit | 6a67f3786a73f72739ebe8e5aca372c39626d768 (patch) | |
tree | 02c946b296961960f7e9335408c0d256d6d59e41 /synapse/events/utils.py | |
parent | Update doc of the allowed characters for registration tokens (#11093) (diff) | |
download | synapse-6a67f3786a73f72739ebe8e5aca372c39626d768.tar.xz |
Fix logging context warnings when losing replication connection (#10984)
Instead of triggering `__exit__` manually on the replication handler's logging context, use it as a context manager so that there is an `__enter__` call to balance the `__exit__`.
Diffstat (limited to 'synapse/events/utils.py')
0 files changed, 0 insertions, 0 deletions