Skip to content

Commit

Permalink
raise for other http errors
Browse files Browse the repository at this point in the history
  • Loading branch information
scottstanie committed Nov 7, 2023
1 parent 4ce9b9d commit 8de26ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eof/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ def download_eofs(
assert e.response is not None
if e.response.status_code == 429:
logger.warning(f"Failed due to too many requests: {e.args}")
# Dataspace failed -> try asf
# Dataspace failed -> try asf
else:
raise

# For failures from scihub, try ASF
if not dataspace_successful:
Expand Down

0 comments on commit 8de26ce

Please sign in to comment.