diff options
-rw-r--r-- | ci/download_gha_artifacts.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/download_gha_artifacts.py b/ci/download_gha_artifacts.py index ed0bbe25..e47d4fb9 100644 --- a/ci/download_gha_artifacts.py +++ b/ci/download_gha_artifacts.py @@ -18,6 +18,8 @@ def download_url(url, filename): with open(filename, "wb") as f: for chunk in response.iter_content(16*1024): f.write(chunk) + else: + raise Exception(f"Fetching {url} produced: {response.status_code=}") def unpack_zipfile(filename): """Unpack a zipfile, using the names in the zip.""" |