summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2023-01-30 11:56:10 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2023-01-31 15:24:37 +0100
commit63474489c46af081db134f8778eea03c3705cda3 (patch)
tree423d92b4730fb3361501aba2aabc4c0c3ebe1c4c /src
parentc882b0451adbe96878f67a3e31738749e93e5d4f (diff)
downloadjustbuild-63474489c46af081db134f8778eea03c3705cda3.tar.gz
Improve error message if git tree walk failed
Diffstat (limited to 'src')
-rw-r--r--src/buildtool/file_system/git_repo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buildtool/file_system/git_repo.cpp b/src/buildtool/file_system/git_repo.cpp
index 0aba51a2..d2cec500 100644
--- a/src/buildtool/file_system/git_repo.cpp
+++ b/src/buildtool/file_system/git_repo.cpp
@@ -162,6 +162,7 @@ constexpr std::size_t kOIDHexSize{GIT_OID_HEXSZ};
return 1; // return >=0 on success, 1 == skip subtrees (flat)
}
}
+ Logger::Log(LogLevel::Error, "failed walk for git tree entry: {}", name);
return -1; // fail
}