0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-09-28 12:39:00 +02:00
synapse/changelog.d/10984.misc
Sean Quah 6a67f3786a
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__`.
2021-10-15 13:10:58 +01:00

1 line
130 B
Text

Fix spurious warnings about losing the logging context on the `ReplicationCommandHandler` when losing the replication connection.