Ignore 404 errors for raw data
This commit is contained in:
parent
392c28953a
commit
dde95c8d5f
1 changed files with 2 additions and 0 deletions
|
|
@ -111,8 +111,10 @@ class FileDownloader:
|
|||
return error
|
||||
|
||||
except aiohttp.ClientResponseError as e:
|
||||
# we skip 404 errors since some files are simply missing
|
||||
if e.status == 404:
|
||||
logger.warning(f"File not found: {remote_filename}")
|
||||
return None
|
||||
else:
|
||||
logger.error(
|
||||
f"HTTP {e.status} downloading {remote_filename}: {e.message}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue