summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2025-02-27 19:09:13 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2025-02-28 14:57:48 +0100
commit007b6a780966ca7404a84f0309cebfeea6d938f4 (patch)
tree5d2609332fa35c7fb10b207645267b9ffbf9c422 /bin
parenta1e68f7a02a61d5b03ca2fb1b1f5ec75fb1c9e31 (diff)
downloadjustbuild-007b6a780966ca7404a84f0309cebfeea6d938f4.tar.gz
just-lock: Fix missing fail condition
Diffstat (limited to 'bin')
-rwxr-xr-xbin/just-lock.py3
1 files changed, 2 insertions, 1 deletions
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,