diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-11-19 12:08:03 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-11-19 14:09:14 +0100 |
commit | 990126cde03428509191bed132f38050034d342e (patch) | |
tree | bded706a757ad1812547aaddc57fb10072f52cff /src | |
parent | af94a70ba6bb9ba2eac328133b2a97d405867f68 (diff) |
Shorter error message
Diffstat (limited to 'src')
-rw-r--r-- | src/libexpr/primops.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index bf913468d..9c9d202ed 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -262,8 +262,7 @@ static void prim_abort(EvalState & state, Value * * args, Value & v) static void prim_throw(EvalState & state, Value * * args, Value & v) { PathSet context; - throw ThrownError(format("user-thrown exception: %1%") % - state.coerceToString(*args[0], context)); + throw ThrownError(format("%1%") % state.coerceToString(*args[0], context)); } |