Skip to content

Commit

Permalink
Merge pull request #335 from openclimatefix/clean-if-failed
Browse files Browse the repository at this point in the history
raise from exception
  • Loading branch information
peterdudfield authored Feb 13, 2025
2 parents 10f1c16 + 9c9aa28 commit 9e97bd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion satip/eumetsat.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,8 @@ def download_single_tailored_dataset_with_retry(
self.request_access_token()
else:
# Final attempt failed, raise exception
raise e
raise Exception(f"Tried {attempts} times to get tailored dataset, "
"but failed 3 times. ") from e

def download_tailored_datasets(
self,
Expand Down

0 comments on commit 9e97bd9

Please sign in to comment.