about summary refs log tree commit diff
path: root/tvix/eval/src
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-08-09T14·46+0300
committertazjin <tazjin@tvl.su>2022-08-13T18·28+0000
commit56caaf70ca3d136b033c9d6e4ff811c52b554c12 (patch)
tree673a85351ae0c641f6cb151eda8185cfc870e9d5 /tvix/eval/src
parenta93933b487cf710400c9126d97450264138695df (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.rs2
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)
     }
 }