Commit 73c75007 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Log error on exception while streaming download.

parent 2dd141a5
......@@ -316,6 +316,8 @@ def _answer_entries_raw_download_request(owner: Owner, query: Query, files: File
# create the streaming response with zip file contents
content = create_streamed_zipfile(raw_file_generator(), compress=files_params.compress)
return StreamingResponse(content, media_type='application/zip')
except Exception as e:
logger.error('exception while streaming download', exc_info=e)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment