aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r--src/libexpr/primops.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 8ef8fe7f5..ff5ae8809 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -888,9 +888,6 @@ static void prim_tryEval(EvalState & state, const PosIdx pos, Value * * args, Va
} catch (AssertionError & e) {
attrs.alloc(state.sValue).mkBool(false);
attrs.alloc("success").mkBool(false);
- } catch (Error & e) {
- attrs.alloc(state.sValue).mkBool(false);
- attrs.alloc("success").mkBool(false);
}
debuggerHook = saveDebuggerHook;
v.mkAttrs(attrs);