diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/buildtool/file_system/file_system_manager.hpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/buildtool/file_system/file_system_manager.hpp b/src/buildtool/file_system/file_system_manager.hpp index 50118f81..0595aae5 100644 --- a/src/buildtool/file_system/file_system_manager.hpp +++ b/src/buildtool/file_system/file_system_manager.hpp @@ -400,9 +400,15 @@ class FileSystemManager { if (IsDirectory(path)) { return ObjectType::Tree; } - Logger::Log(LogLevel::Debug, - "object type for {} not supported yet.", - path.string()); + if (Exists(path)) { + Logger::Log(LogLevel::Debug, + "object type for {} is not supported yet.", + path.string()); + } + else { + Logger::Log( + LogLevel::Trace, "non-existing object path {}.", path.string()); + } return std::nullopt; } |