summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlberto Sartori <alberto.sartori@huawei.com>2022-08-04 15:52:06 +0200
committerAlberto Sartori <alberto.sartori@huawei.com>2022-08-09 10:35:18 +0200
commit71d5147139359f2bf403375959d04f862b5e8fd0 (patch)
treed8edfb29e401b77ab9faadea2d8d7522fc0b5d8a /src
parent130d30d76f173874550c1a7db05a270305e56352 (diff)
downloadjustbuild-71d5147139359f2bf403375959d04f862b5e8fd0.tar.gz
RemoteExecutionClient: print debug string
Diffstat (limited to 'src')
-rw-r--r--src/buildtool/execution_api/remote/bazel/bazel_execution_client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/remote/bazel/bazel_execution_client.cpp b/src/buildtool/execution_api/remote/bazel/bazel_execution_client.cpp
index d58d6d06..b5c0d1d0 100644
--- a/src/buildtool/execution_api/remote/bazel/bazel_execution_client.cpp
+++ b/src/buildtool/execution_api/remote/bazel/bazel_execution_client.cpp
@@ -20,7 +20,8 @@ void LogExecutionStatus(gsl::not_null<Logger const*> const& logger,
// (and the server does not support a queue), the action could not
// be started. The client should retry.
logger->Emit(LogLevel::Error,
- "Execution could not be started. Retry later.");
+ fmt::format("Execution could not be started.\n{}",
+ s.DebugString()));
break;
default:
// fallback to default status logging