We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d75f603 commit 20f5098Copy full SHA for 20f5098
1 file changed
ompackagemanager/updateinfo.py
@@ -291,7 +291,7 @@ def main():
291
fout.write(requests.get(sha, allow_redirects=True).content)
292
with zipfile.ZipFile(zipfilepath, 'r') as zip_ref:
293
zip_ref.extractall(repopath)
294
- except:
+ except zipfile.BadZipfile:
295
print("Failed to download or extract zip file from URL: %s" % zipfilepath)
296
raise
297
else:
0 commit comments