about summary refs log tree commit diff
path: root/src/libexpr/primops.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-06-30T13·28+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-06-30T13·28+0000
commitf2c3fc519190b021f0bb3b66f58d0fe7fc40b0e7 (patch)
tree3f63dc0097d73ec82250a77574703e744eb03c81 /src/libexpr/primops.cc
parenta2fc3a53ba87d3688dae0554bfdb2fe3fb3dbf2a (diff)
* Don't show trace information by default (`--show-trace' to enable).
  NixOS evaluation errors in particular look intimidating and
  generally aren't very useful.  Ideally the builtins.throw messages
  should be self-contained.

Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r--src/libexpr/primops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 34e7e80525..016e6abdb2 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -206,7 +206,7 @@ static Expr prim_abort(EvalState & state, const ATermVector & args)
 static Expr prim_throw(EvalState & state, const ATermVector & args)
 {
     PathSet context;
-    throw ThrownError(format("user-thrown exception: `%1%'") %
+    throw ThrownError(format("user-thrown exception: %1%") %
         evalString(state, args[0], context));
 }