diff options
author | Vincent Ambo <mail@tazj.in> | 2022-08-09T14·46+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-08-13T18·28+0000 |
commit | 56caaf70ca3d136b033c9d6e4ff811c52b554c12 (patch) | |
tree | 673a85351ae0c641f6cb151eda8185cfc870e9d5 /tvix/eval/src | |
parent | a93933b487cf710400c9126d97450264138695df (diff) |
fix(tvix/errors): display a useful intermediate error representation r/4435
Change-Id: If979a2aa21444320427f54e6530a55cab873856b Reviewed-on: https://cl.tvl.fyi/c/depot/+/6099 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'tvix/eval/src')
-rw-r--r-- | tvix/eval/src/errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/errors.rs b/tvix/eval/src/errors.rs index 3df51acb6ca6..118c10621551 100644 --- a/tvix/eval/src/errors.rs +++ b/tvix/eval/src/errors.rs @@ -10,7 +10,7 @@ pub enum Error { impl Display for Error { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - writeln!(f, "error") + writeln!(f, "{:?}", self) } } |