summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/git_tree.cpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-03-31 16:41:09 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-03-31 16:41:09 +0200
commit6cff7cd8aa3078cd41fb0de3137fe29d2566ff97 (patch)
treec5b68c8136a1571ffbfece3ee3558b2060ae6e8a /src/buildtool/file_system/git_tree.cpp
parent84fdf3b7da3472790ff894220b445035d30d8e70 (diff)
downloadjustbuild-6cff7cd8aa3078cd41fb0de3137fe29d2566ff97.tar.gz
git tree: degrade log level for missing entry in a git tree to debug
... as this is only an internal functionality, and the caller will take care of a proper error message if the absence of that entry is not expected.
Diffstat (limited to 'src/buildtool/file_system/git_tree.cpp')
-rw-r--r--src/buildtool/file_system/git_tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/file_system/git_tree.cpp b/src/buildtool/file_system/git_tree.cpp
index db391b7e..a369af78 100644
--- a/src/buildtool/file_system/git_tree.cpp
+++ b/src/buildtool/file_system/git_tree.cpp
@@ -86,7 +86,7 @@ auto GitTree::LookupEntryByName(std::string const& name) const noexcept
auto entry_it = entries_.find(name);
if (entry_it == entries_.end()) {
Logger::Log(
- LogLevel::Error, "git tree does not contain entry {}", name);
+ LogLevel::Debug, "git tree does not contain entry {}", name);
return nullptr;
}
return entry_it->second;