Add ChunkedEncodingError catch in download function
What does this MR do and why?
Catches requests.exceptions.ChunkedEncodingError
in download_file_from_url
function. Error seen recently in job runs. Not seen previously in prod or testing.
How to set up and validate locally
No logic or program flow changes, just adds additional error to try/except block. Tested on dev instance.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
Have you checked this doesn't interfere/conflict/duplicate someone elses work? -
Have you fully tested your changes? -
Have you resolved any lint issues? -
Have you assigned a reviewer? -
Have you applied correct labels?