mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
manifest: Build useful error message
This helps detecting issue with optional steps like cerbero deps lookup. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/348>
This commit is contained in:
parent
705e375893
commit
808fc283f3
1 changed files with 4 additions and 1 deletions
5
gitlab/build_manifest.py
Executable file → Normal file
5
gitlab/build_manifest.py
Executable file → Normal file
|
@ -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(resp.read())
|
||||
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']
|
||||
|
|
Loading…
Reference in a new issue