mirror of
https://github.com/onionshare/onionshare.git
synced 2025-04-19 15:16:01 -04:00
Raise RuntimeError, seems Github Actions didn't fail on exit code of negative 1
This commit is contained in:
parent
42c050361b
commit
6041dcaf69
@ -26,8 +26,7 @@ working_path = os.path.join(root_path, "build", "tor")
|
||||
def get_latest_tor_version_urls(platform):
|
||||
r = requests.get(f"{torbrowser_latest_url}/download-{platform}.json")
|
||||
if r.status_code != 200:
|
||||
print("Tor browser latest version url not working")
|
||||
sys.exit(-1)
|
||||
raise RuntimeError("Tor browser latest version url not working")
|
||||
|
||||
platform_url = r.json()["binary"]
|
||||
platform_sig_url = r.json()["sig"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user