mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-01-29 06:53:23 -05:00
b28a7ed503
If a HTTP handler throws an exception while processing a request we automatically write a JSON error response. If the handler had already started writing a response twisted throws an exception. We should check for this case and simple abort the connection if there was an error after the response had started being written.