mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-03-05 18:55:50 -05:00

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.