mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 07:16:17 +02:00
Shorter error message
This commit is contained in:
parent
af94a70ba6
commit
990126cde0
1 changed files with 1 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue