mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
refact: TraceKind -> TracePrint
Co-authored-by: Rebecca Turner <rbt@sent.as>
This commit is contained in:
parent
bed541b04e
commit
d4fa0a84a5
3 changed files with 16 additions and 10 deletions
|
@ -826,7 +826,7 @@ static void prim_addErrorContext(EvalState & state, const PosIdx pos, Value * *
|
|||
auto message = state.coerceToString(pos, *args[0], context,
|
||||
"while evaluating the error message passed to builtins.addErrorContext",
|
||||
false, false).toOwned();
|
||||
e.addTrace(nullptr, HintFmt(message), TraceKind::Custom);
|
||||
e.addTrace(nullptr, HintFmt(message), TracePrint::Always);
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue