diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/buildtool/execution_api/remote/bazel/bytestream_client.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildtool/execution_api/remote/bazel/bytestream_client.hpp b/src/buildtool/execution_api/remote/bazel/bytestream_client.hpp index 8edaef3e..9be55bc5 100644 --- a/src/buildtool/execution_api/remote/bazel/bytestream_client.hpp +++ b/src/buildtool/execution_api/remote/bazel/bytestream_client.hpp @@ -122,7 +122,7 @@ class ByteStreamClient { // writing from the returned `committed_size`. auto const committed_size = QueryWriteStatus(resource_name); if (committed_size <= 0) { - logger_.Emit(LogLevel::Debug, + logger_.Emit(LogLevel::Error, "broken stream for upload to resource name {}", resource_name); return false; @@ -134,7 +134,7 @@ class ByteStreamClient { } } while (pos < data.size()); if (not writer->WritesDone()) { - logger_.Emit(LogLevel::Debug, + logger_.Emit(LogLevel::Error, "broken stream for upload to resource name {}", resource_name); return false; @@ -142,7 +142,7 @@ class ByteStreamClient { auto status = writer->Finish(); if (not status.ok()) { - LogStatus(&logger_, LogLevel::Debug, status); + LogStatus(&logger_, LogLevel::Error, status); return false; } |