Skip to content
Snippets Groups Projects
Commit dc795ba7 authored by Michael Kaye's avatar Michael Kaye Committed by Andrew Morgan
Browse files

Log responder we are using. (#6139)

This prevents us logging "Responding to media request with responder %s".
parent 1992f21a
No related branches found
No related tags found
No related merge requests found
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)
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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment