diff --git a/scripts/mirror_mr_pipeline.py b/scripts/mirror_mr_pipeline.py
index d65ff8a75e74591766743c0020155bb1d51b7e6a..55d3a61e7ab74de55dff008dfc0d994ccc973fea 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: