aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/command.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2021-12-27 17:35:27 -0700
committerBen Burdette <bburdette@gmail.com>2021-12-27 17:35:27 -0700
commit9760fa8661f7562e0b8979338200904053cc4631 (patch)
treed96cb7e58f63c63ccaa505ae3666e06cdbe8fc65 /src/libcmd/command.cc
parent6801a423fc9abdfd2cb7307f2970553bcfad089d (diff)
add DebugTrace for the current error
Diffstat (limited to 'src/libcmd/command.cc')
-rw-r--r--src/libcmd/command.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmd/command.cc b/src/libcmd/command.cc
index 6c0f84c4b..897d81981 100644
--- a/src/libcmd/command.cc
+++ b/src/libcmd/command.cc
@@ -84,7 +84,7 @@ ref<EvalState> EvalCommand::getEvalState()
if (expr.staticenv)
{
auto vm = mapStaticEnvBindings(*expr.staticenv.get(), env);
- runRepl(evalState, &error, *vm);
+ runRepl(evalState, &error, expr, *vm);
}
};
}