summary refs log tree commit diff
path: root/synapse/http/__init__.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-01-16 17:58:16 +0000
committerRichard van der Hoff <richard@matrix.org>2018-01-16 17:58:16 +0000
commit936482d507ffbf59d9aee58f851ec6ff2a120424 (patch)
treed679e611062bef045199fe38f933c4de1d3ffdda /synapse/http/__init__.py
parentMerge pull request #2785 from matrix-org/rav/reorganise_metrics_again (diff)
downloadsynapse-936482d507ffbf59d9aee58f851ec6ff2a120424.tar.xz
Fix 'NoneType' object has no attribute 'writeHeaders'
Avoid throwing a (harmless) exception when we try to write an error response to
an http request where the client has disconnected.

This comes up as a CRITICAL error in the logs which tends to mislead people
into thinking there's an actual problem
Diffstat (limited to 'synapse/http/__init__.py')
0 files changed, 0 insertions, 0 deletions