Help text for errors
This commit is contained in:
parent
98b7f23148
commit
d3958a90e0
1 changed files with 5 additions and 1 deletions
|
|
@ -59,7 +59,11 @@ def main(branch: str = "v3", project: Optional[str] = None) -> None:
|
||||||
|
|
||||||
zip_data = ofm_repo.artifacts.download(branch, "build")
|
zip_data = ofm_repo.artifacts.download(branch, "build")
|
||||||
except GitlabGetError as e:
|
except GitlabGetError as e:
|
||||||
print(f"Failed to get artifacts from GitLab.\n{e}")
|
print(
|
||||||
|
"Failed to get artifacts from GitLab.\n"
|
||||||
|
"If pointing to a branch, ensure the artifacts haven't expired,\n"
|
||||||
|
f"and rerun the pipeline from Gitlab if necessary.\n{e}"
|
||||||
|
)
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
||||||
if zip_data is None:
|
if zip_data is None:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue