aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2020-07-02 09:04:31 -0600
committerBen Burdette <bburdette@gmail.com>2020-07-02 09:04:31 -0600
commitbf2788e4c1d92a8d625f016b2a3b4d34990f33e3 (patch)
treee97552c393a7e0bc4544020869f65486e9f2e8ec /src/libexpr/eval.cc
parent5ae498872a832b0df93b551210f0a3a8b6ffaa35 (diff)
move showTrace to new loggerSettings
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r--src/libexpr/eval.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index e89948b94..c1a9af9b2 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -1232,7 +1232,7 @@ void EvalState::callFunction(Value & fun, Value & arg, Value & v, const Pos & po
/* Evaluate the body. This is conditional on showTrace, because
catching exceptions makes this function not tail-recursive. */
- if (settings.showTrace)
+ if (loggerSettings.showTrace.get())
try {
lambda.body->eval(*this, env2, v);
} catch (Error & e) {