summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2022-10-07 10:26:01 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2022-10-07 11:08:35 +0200
commit279d67cdbb413ab0363e61ec4ced922aeeabfcb1 (patch)
treecd4a1520b8f3cd57636f64e50030d916b4829545
parentaa29d5ffbdd5f793cdbddbfab6f01840ea937c18 (diff)
downloadjustbuild-279d67cdbb413ab0363e61ec4ced922aeeabfcb1.tar.gz
Improve error message on filure to execute a remote action
... to emphasize that this is the extensional action identifier, not the intensional one.
-rw-r--r--src/buildtool/execution_api/remote/bazel/bazel_network.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/buildtool/execution_api/remote/bazel/bazel_network.cpp b/src/buildtool/execution_api/remote/bazel/bazel_network.cpp
index bdb4f3be..65364f95 100644
--- a/src/buildtool/execution_api/remote/bazel/bazel_network.cpp
+++ b/src/buildtool/execution_api/remote/bazel/bazel_network.cpp
@@ -178,8 +178,9 @@ auto BazelNetwork::ExecuteBazelActionSync(
if (response.state !=
BazelExecutionClient::ExecutionResponse::State::Finished or
not response.output) {
- Logger::Log(
- LogLevel::Error, "Failed to execute action {}.", action.hash());
+ Logger::Log(LogLevel::Error,
+ "Failed to execute action with execution id {}.",
+ action.hash());
return std::nullopt;
}