Commit 808fc283 authored by Nicolas Dufresne's avatar Nicolas Dufresne
Browse files

manifest: Build useful error message

This helps detecting issue with optional steps like cerbero deps

Part-of: <!348>
parent 705e3758
......@@ -57,7 +57,10 @@ def get_cerbero_last_build_info (branch : str):
req = urllib.request.Request(url)
resp = urllib.request.urlopen(req);
deps = json.loads(
except urllib.error.URLError:
except urllib.error.URLError as e:
print(f'Failed to get from URL {url}')
print('WARNING: Could not find a revision with build cache ready: ' + str(e))
print('Checking cerbero:', end=' ')
return None
return deps[0]['commit']
Markdown is supported
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