We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8c7d3e commit 0b0d779Copy full SHA for 0b0d779
setupext.py
@@ -136,7 +136,10 @@ def write_cache(local_fn, data):
136
file_sha = get_fd_hash(file_contents)
137
138
if file_sha != sha:
139
- raise Exception
+ raise Exception(("The download file does not match the "
140
+ "expected sha. {url} was expected to have "
141
+ "{sha} but it had {file_sha}").format(
142
+ sha=sha, file_sha=file_sha, url=url))
143
144
try:
145
write_cache(sha, file_contents)
0 commit comments