diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-02-27 19:09:13 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-02-28 14:57:48 +0100 |
commit | 007b6a780966ca7404a84f0309cebfeea6d938f4 (patch) | |
tree | 5d2609332fa35c7fb10b207645267b9ffbf9c422 | |
parent | a1e68f7a02a61d5b03ca2fb1b1f5ec75fb1c9e31 (diff) | |
download | justbuild-007b6a780966ca7404a84f0309cebfeea6d938f4.tar.gz |
just-lock: Fix missing fail condition
-rwxr-xr-x | bin/just-lock.py | 3 |
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, |