Commit 7496d112 authored by Cecylia Bocovich's avatar Cecylia Bocovich
Browse files

Make sure script output clearly prints out errors

parent f6ef9bbe
......@@ -22,12 +22,12 @@ def upload_files(release):
for asset in data['downloads'][arch][locale]:
url = data['downloads'][arch][locale][asset]
filename = url.split('/')[-1]
print("Downloading " + filename)
subprocess.check_call(["/usr/bin/wget", "--quiet", url])
print("Error: failed to download "+url)
print("Please upload this file manually.")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment