Commit 031533ae authored by Ilya Simonov's avatar Ilya Simonov

add log status code for send video to s3

parent c82371dc
...@@ -28,6 +28,7 @@ def send_video_to_s3(video_id=None): ...@@ -28,6 +28,7 @@ def send_video_to_s3(video_id=None):
log.info(f'File path: {file_path}') log.info(f'File path: {file_path}')
response = requests.get(file_path) response = requests.get(file_path)
log.info('response status code', response.status_code)
content = response.content content = response.content
try: try:
......
Markdown is supported
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