From 56caaf70ca3d136b033c9d6e4ff811c52b554c12 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 9 Aug 2022 17:46:51 +0300 Subject: fix(tvix/errors): display a useful intermediate error representation Change-Id: If979a2aa21444320427f54e6530a55cab873856b Reviewed-on: https://cl.tvl.fyi/c/depot/+/6099 Tested-by: BuildkiteCI Reviewed-by: grfn --- tvix/eval/src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tvix') 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) } } -- cgit 1.4.1