aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authorBen Burdette <bburdette@protonmail.com>2022-05-12 14:20:45 -0600
committerBen Burdette <bburdette@protonmail.com>2022-05-12 14:20:45 -0600
commit2acdb90438f315e145f97218b1b34f75b40ebc70 (patch)
tree733529d120c8b70dc6ef1f9302499d60edc77f8d /src/libexpr
parent2d0d1ec99d032ce236ee0b8194ac2da762e7f462 (diff)
remove debug code
Diffstat (limited to 'src/libexpr')
-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);