summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_engine/executor/executor.hpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-04-11 15:31:09 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-04-11 17:40:38 +0200
commit4c92586dad14eba9b9ea64cc8c6f68d6c59eed86 (patch)
tree31c2f2ec34299e47c367836c5826b28a8086e43e /src/buildtool/execution_engine/executor/executor.hpp
parent3342268ed2cd3d6a31d67ab2d727648af1de22e5 (diff)
downloadjustbuild-4c92586dad14eba9b9ea64cc8c6f68d6c59eed86.tar.gz
Error reporting on action failure: give short target name
... as this is the only thing the user cares about when trying to investigate why that action failed.
Diffstat (limited to 'src/buildtool/execution_engine/executor/executor.hpp')
-rw-r--r--src/buildtool/execution_engine/executor/executor.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/execution_engine/executor/executor.hpp b/src/buildtool/execution_engine/executor/executor.hpp
index 53a0f6da..046a6a4c 100644
--- a/src/buildtool/execution_engine/executor/executor.hpp
+++ b/src/buildtool/execution_engine/executor/executor.hpp
@@ -618,7 +618,7 @@ class ExecutorImpl {
msg << "\nrequested by";
for (auto const& origin : origins->second) {
msg << "\n - ";
- msg << origin.first.ToString();
+ msg << origin.first.ToShortString();
msg << "#";
msg << origin.second;
}