diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-04-26 16:04:20 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-04-29 12:35:54 +0200 |
commit | 6f5f251d6e67c575e54a1cb6fc6ae9a4d94fab0d (patch) | |
tree | 46d4f15650e6642173e0aeac80e56de1fd0c0ec6 /src | |
parent | 83d0b47f96001aea5b171ca4d19deb303146413a (diff) | |
download | justbuild-6f5f251d6e67c575e54a1cb6fc6ae9a4d94fab0d.tar.gz |
bazel_response: Report failure to read stdout/stderr blobs of an action
Diffstat (limited to 'src')
-rw-r--r-- | src/buildtool/execution_api/remote/bazel/bazel_response.cpp | 4 |
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; |