mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-22 12:44:57 -05:00
Log responder we are using. (#6139)
This prevents us logging "Responding to media request with responder %s".
This commit is contained in:
parent
1992f21a9f
commit
dc795ba709
1
changelog.d/6139.misc
Normal file
1
changelog.d/6139.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Log responder when responding to media request.
|
@ -195,7 +195,7 @@ def respond_with_responder(request, responder, media_type, file_size, upload_nam
|
|||||||
respond_404(request)
|
respond_404(request)
|
||||||
return
|
return
|
||||||
|
|
||||||
logger.debug("Responding to media request with responder %s")
|
logger.debug("Responding to media request with responder %s", responder)
|
||||||
add_file_headers(request, media_type, file_size, upload_name)
|
add_file_headers(request, media_type, file_size, upload_name)
|
||||||
try:
|
try:
|
||||||
with responder:
|
with responder:
|
||||||
|
Loading…
Reference in New Issue
Block a user