diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-01-16 17:58:16 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-01-16 17:58:16 +0000 |
commit | 936482d507ffbf59d9aee58f851ec6ff2a120424 (patch) | |
tree | d679e611062bef045199fe38f933c4de1d3ffdda /tests/test_state.py | |
parent | Merge pull request #2785 from matrix-org/rav/reorganise_metrics_again (diff) | |
download | synapse-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 'tests/test_state.py')
0 files changed, 0 insertions, 0 deletions