diff options
author | Ben Burdette <bburdette@gmail.com> | 2021-12-27 17:35:27 -0700 |
---|---|---|
committer | Ben Burdette <bburdette@gmail.com> | 2021-12-27 17:35:27 -0700 |
commit | 9760fa8661f7562e0b8979338200904053cc4631 (patch) | |
tree | d96cb7e58f63c63ccaa505ae3666e06cdbe8fc65 /src/libcmd/command.cc | |
parent | 6801a423fc9abdfd2cb7307f2970553bcfad089d (diff) |
add DebugTrace for the current error
Diffstat (limited to 'src/libcmd/command.cc')
-rw-r--r-- | src/libcmd/command.cc | 2 |
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); } }; } |