0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 03:33:51 +01:00

Log responder we are using. (#6139)

This prevents us logging "Responding to media request with responder %s".
This commit is contained in:
Michael Kaye 2019-10-07 15:41:25 +01:00 committed by Andrew Morgan
parent 1992f21a9f
commit dc795ba709
2 changed files with 2 additions and 1 deletions

1
changelog.d/6139.misc Normal file
View file

@ -0,0 +1 @@
Log responder when responding to media request.

View file

@ -195,7 +195,7 @@ def respond_with_responder(request, responder, media_type, file_size, upload_nam
respond_404(request)
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)
try:
with responder: