summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/buildtool/execution_api/remote/bazel/bazel_response.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/remote/bazel/bazel_response.cpp b/src/buildtool/execution_api/remote/bazel/bazel_response.cpp
index f290a7f4..663fd9cf 100644
--- a/src/buildtool/execution_api/remote/bazel/bazel_response.cpp
+++ b/src/buildtool/execution_api/remote/bazel/bazel_response.cpp
@@ -38,7 +38,9 @@ auto BazelResponse::ReadStringBlob(bazel_re::Digest const& id) noexcept
-> std::string {
auto blobs = network_->ReadBlobs({id}).Next();
if (blobs.empty()) {
- // TODO(oreiche): logging
+ Logger::Log(LogLevel::Warning,
+ "reading digest {} from action response failed",
+ id.hash());
return std::string{};
}
return blobs[0].data;