summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_engine/executor/executor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/execution_engine/executor/executor.hpp')
-rw-r--r--src/buildtool/execution_engine/executor/executor.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/buildtool/execution_engine/executor/executor.hpp b/src/buildtool/execution_engine/executor/executor.hpp
index c4e6c6b7..29b16a1d 100644
--- a/src/buildtool/execution_engine/executor/executor.hpp
+++ b/src/buildtool/execution_engine/executor/executor.hpp
@@ -325,9 +325,15 @@ class ExecutorImpl {
// if known tree is not available, recursively upload its content
auto tree = ReadGitTree(repo, repo_config, hash);
if (not tree) {
+ Logger::Log(
+ LogLevel::Error, "failed to read git tree {}", hash);
return false;
}
if (not VerifyOrUploadTree(api, *tree)) {
+ Logger::Log(LogLevel::Error,
+ "failed to verifyorupload git tree {} [{}]",
+ tree->Hash(),
+ hash);
return false;
}
content = tree->RawData();
@@ -337,6 +343,7 @@ class ExecutorImpl {
content = ReadGitBlob(repo, repo_config, hash);
}
if (not content) {
+ Logger::Log(LogLevel::Error, "failed to get content");
return false;
}