diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-03-04 17:56:17 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-03-05 11:34:41 +0100 |
commit | cd9228cd3abdde56b948be6402def1f80f235817 (patch) | |
tree | 4e938a52207c9037f3ab2fefe4fa95fa8b74c430 /src/buildtool/file_system/file_root.hpp | |
parent | e99829207eac4f284045e30e83f186582cadced7 (diff) | |
download | justbuild-cd9228cd3abdde56b948be6402def1f80f235817.tar.gz |
FileSystemManager: Let caller decide log level for reading directory
Do not emit errors when it does not lead to build failures. Callers
handle the log level at which failures of this method should be
logged.
Diffstat (limited to 'src/buildtool/file_system/file_root.hpp')
-rw-r--r-- | src/buildtool/file_system/file_root.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildtool/file_system/file_root.hpp b/src/buildtool/file_system/file_root.hpp index 68ca7533..45f74b3c 100644 --- a/src/buildtool/file_system/file_root.hpp +++ b/src/buildtool/file_system/file_root.hpp @@ -539,7 +539,8 @@ class FileRoot { return true; }, /*allow_upwards=*/false, - ignore_special_)) { + ignore_special_, + /*log_failure_at=*/LogLevel::Warning)) { return DirectoryEntries{std::move(map)}; } } |