mirror of
https://github.com/NixOS/nix
synced 2025-06-29 10:31:15 +02:00
Fix addErrorContext
This commit is contained in:
parent
5d1e5a09d1
commit
c8f7ca2c7b
1 changed files with 1 additions and 1 deletions
|
@ -795,7 +795,7 @@ static void prim_addErrorContext(EvalState & state, const PosIdx pos, Value * *
|
||||||
PathSet context;
|
PathSet context;
|
||||||
e.addTrace(nullptr, state.decodePaths(*state.coerceToString(pos, *args[0], context,
|
e.addTrace(nullptr, state.decodePaths(*state.coerceToString(pos, *args[0], context,
|
||||||
"while evaluating the error message passed to 'builtins.addErrorContext'",
|
"while evaluating the error message passed to 'builtins.addErrorContext'",
|
||||||
false, false)));
|
false, false)), true);
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue