From 4c92586dad14eba9b9ea64cc8c6f68d6c59eed86 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 11 Apr 2024 15:31:09 +0200 Subject: 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. --- src/buildtool/execution_engine/executor/executor.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/execution_engine/executor/executor.hpp') 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; } -- cgit v1.2.3