From d3958a90e03ebc5f2189ca21bc631fc0d3ea2671 Mon Sep 17 00:00:00 2001 From: Joe Knapper Date: Wed, 10 Jun 2026 14:40:10 +0100 Subject: [PATCH] Help text for errors --- pull_webapp.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pull_webapp.py b/pull_webapp.py index d4cba623..49381a3c 100755 --- a/pull_webapp.py +++ b/pull_webapp.py @@ -59,7 +59,11 @@ def main(branch: str = "v3", project: Optional[str] = None) -> None: zip_data = ofm_repo.artifacts.download(branch, "build") 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) if zip_data is None: