summary refs log tree commit diff
path: root/synapse/http/client.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-01-19 10:19:25 +0000
committerErik Johnston <erik@matrix.org>2021-01-19 10:19:25 +0000
commitbed4fa29fd03696acbfee8c6952ca8692ff6d722 (patch)
tree1448960716d841caeb779e720d81b5db0dd8986c /synapse/http/client.py
parentMerge remote-tracking branch 'origin/develop' into matrix-org-hotfixes (diff)
parentQuote pip install with brackets to avoid shell interpretation. (#9151) (diff)
downloadsynapse-bed4fa29fd03696acbfee8c6952ca8692ff6d722.tar.xz
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
Diffstat (limited to 'synapse/http/client.py')
-rw-r--r--synapse/http/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/client.py b/synapse/http/client.py

index df498c8645..37ccf5ab98 100644 --- a/synapse/http/client.py +++ b/synapse/http/client.py
@@ -724,7 +724,7 @@ class SimpleHttpClient: read_body_with_max_size(response, output_stream, max_size) ) except BodyExceededMaxSize: - SynapseError( + raise SynapseError( 502, "Requested file is too large > %r bytes" % (max_size,), Codes.TOO_LARGE,