forked from lix-project/lix
Shorter error message
This commit is contained in:
parent
af94a70ba6
commit
990126cde0
|
@ -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