diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-06-20 11:42:02 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-06-20 12:03:54 +0200 |
commit | 7bfe61079b0355d260b977193e3b05be969ca068 (patch) | |
tree | 6972c879fc2bce18a8208ed63b17ba16d24fa7bf /src/buildtool/execution_engine/executor/executor.hpp | |
parent | 4a8fbdfe4c9dff69e8609b31302d417bf5edda11 (diff) | |
download | justbuild-7bfe61079b0355d260b977193e3b05be969ca068.tar.gz |
Executor: Fix printing artifact ids
Diffstat (limited to 'src/buildtool/execution_engine/executor/executor.hpp')
-rw-r--r-- | src/buildtool/execution_engine/executor/executor.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/buildtool/execution_engine/executor/executor.hpp b/src/buildtool/execution_engine/executor/executor.hpp index 60c36c60..ebe7dd54 100644 --- a/src/buildtool/execution_engine/executor/executor.hpp +++ b/src/buildtool/execution_engine/executor/executor.hpp @@ -20,6 +20,7 @@ #include "src/buildtool/file_system/file_system_manager.hpp" #include "src/buildtool/logging/logger.hpp" #include "src/buildtool/progress_reporting/progress.hpp" +#include "src/utils/cpp/hex_string.hpp" /// \brief Implementations for executing actions and uploading artifacts. class ExecutorImpl { @@ -108,7 +109,7 @@ class ExecutorImpl { if (not object_info_opt and not file_path_opt) { Logger::Log(LogLevel::Error, "artifact {} can not be processed.", - artifact->Content().Id()); + ToHexString(artifact->Content().Id())); return false; } // If the artifact has digest, we check that an object with this digest @@ -122,7 +123,7 @@ class ExecutorImpl { Logger::Log( LogLevel::Error, "artifact {} should be present in CAS but is missing.", - artifact->Content().Id()); + ToHexString(artifact->Content().Id())); return false; } return true; |