From 01ae2737c6ea663ad4e741f048889950bbfb2510 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 21 Oct 2024 15:47:03 +0200 Subject: configured_target: honor --expression-log-limit when shortening representation --- src/buildtool/execution_engine/executor/executor.hpp | 4 +++- 1 file changed, 3 insertions(+), 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 63ab96ba..a27f2215 100644 --- a/src/buildtool/execution_engine/executor/executor.hpp +++ b/src/buildtool/execution_engine/executor/executor.hpp @@ -28,6 +28,7 @@ #include #include "gsl/gsl" +#include "src/buildtool/build_engine/expression/evaluator.hpp" #include "src/buildtool/common/artifact_digest.hpp" #include "src/buildtool/common/artifact_digest_factory.hpp" #include "src/buildtool/common/git_hashes_converter.hpp" @@ -688,7 +689,8 @@ class ExecutorImpl { msg << "\nrequested by"; for (auto const& origin : origins->second) { msg << "\n - "; - msg << origin.first.ToShortString(); + msg << origin.first.ToShortString( + Evaluator::GetExpressionLogLimit()); msg << "#"; msg << origin.second; } -- cgit v1.2.3