Skip to content

Commit 78173b1

Browse files
charliermarshindygreg
authored andcommitted
Log failed URL
1 parent bebcf3f commit 78173b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonbuild/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def download_to_path(url: str, path: pathlib.Path, size: int, sha256: str):
289289
print(f"urllib error on {url}; retrying: {e}")
290290
time.sleep(2**attempt)
291291
else:
292-
raise Exception("download failed after multiple retries")
292+
raise Exception("download failed after multiple retries: %s" % url)
293293

294294
tmp.rename(path)
295295
print("successfully downloaded %s" % url)

0 commit comments

Comments
 (0)