From 007b6a780966ca7404a84f0309cebfeea6d938f4 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 27 Feb 2025 19:09:13 +0100 Subject: just-lock: Fix missing fail condition --- bin/just-lock.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/just-lock.py b/bin/just-lock.py index 0310a090..18248b2e 100755 --- a/bin/just-lock.py +++ b/bin/just-lock.py @@ -2358,7 +2358,8 @@ def clone_repo(repos: Json, known_repo: str, deps_chain: List[str], symlinks=True, dirs_exist_ok=True) except Exception as ex: - report("Copying file path %s failed with:\n%r" % (clone_to, ex)) + fail(fail_context + "Copying file path %s failed with:\n%r" % + (clone_to, ex)) imported_tree_id = import_to_git(workdir, repo_type="git-tree", content_id=tree_id, -- cgit v1.2.3