diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/buildtool/execution_engine/executor/TARGETS | 1 | ||||
-rw-r--r-- | src/buildtool/execution_engine/executor/executor.hpp | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/buildtool/execution_engine/executor/TARGETS b/src/buildtool/execution_engine/executor/TARGETS index 37106368..87ccdf70 100644 --- a/src/buildtool/execution_engine/executor/TARGETS +++ b/src/buildtool/execution_engine/executor/TARGETS @@ -11,6 +11,7 @@ , ["src/buildtool/execution_engine/dag", "dag"] , ["src/buildtool/execution_api/common", "common"] , ["src/buildtool/progress_reporting", "progress"] + , ["src/utils/cpp", "hex_string"] , ["@", "gsl-lite", "", "gsl-lite"] ] , "stage": ["src", "buildtool", "execution_engine", "executor"] 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; |