From ed36b4655636ee0b54edd1a282b3b7a6414815e2 Mon Sep 17 00:00:00 2001
From: Tim Jaacks <tim.jaacks@seco.com>
Date: Mon, 6 Feb 2023 11:39:41 +0100
Subject: [PATCH] mirror_mr_pipeline: include pipeline-not-found message in
 output

---
 scripts/mirror_mr_pipeline.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/mirror_mr_pipeline.py b/scripts/mirror_mr_pipeline.py
index d65ff8a7..55d3a61e 100755
--- a/scripts/mirror_mr_pipeline.py
+++ b/scripts/mirror_mr_pipeline.py
@@ -106,8 +106,8 @@ def main():
         elif pipeline.status == "failed":
             sys.exit(1)
 
-    except LookupError:
-        pass
+    except LookupError as e:
+        print(str(e))
 
     # Else start a new pipeline on given ref
     try:
-- 
GitLab