diff options
-rw-r--r-- | src/libexpr/eval.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index 050991a1bfac..f128b6ad34a6 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -728,12 +728,7 @@ void EvalState::callFunction(Value & fun, Value & arg, Value & v) /* And call the primop. */ nrPrimOpCalls++; if (countCalls) primOpCalls[primOp->primOp->name]++; - try { - primOp->primOp->fun(*this, vArgs, v); - } catch (Error & e) { - addErrorPrefix(e, "while evaluating the builtin function `%1%':\n", primOp->primOp->name); - throw; - } + primOp->primOp->fun(*this, vArgs, v); } else { v.type = tPrimOpApp; v.primOpApp.left = allocValue(); |