summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_engine/executor/executor.hpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-10-21 15:47:03 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-10-21 16:02:33 +0200
commit01ae2737c6ea663ad4e741f048889950bbfb2510 (patch)
treee5b6bfefa2d387b4553013ea95335581caff4206 /src/buildtool/execution_engine/executor/executor.hpp
parenteeed3ec02387dcd897c6a84010f1913a093bea07 (diff)
downloadjustbuild-01ae2737c6ea663ad4e741f048889950bbfb2510.tar.gz
configured_target: honor --expression-log-limit when shortening representation
Diffstat (limited to 'src/buildtool/execution_engine/executor/executor.hpp')
-rw-r--r--src/buildtool/execution_engine/executor/executor.hpp4
1 files changed, 3 insertions, 1 deletions
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 <vector>
#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;
}