From 5e3a902c75dc48c7304fc063a75d4a2cc379cf05 Mon Sep 17 00:00:00 2001 From: rvcas Date: Wed, 15 Mar 2023 16:14:22 -0400 Subject: [PATCH] fix: add back some extra info on display --- crates/uplc/src/tx/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/uplc/src/tx/error.rs b/crates/uplc/src/tx/error.rs index 92fbcef3..a3b8f452 100644 --- a/crates/uplc/src/tx/error.rs +++ b/crates/uplc/src/tx/error.rs @@ -10,7 +10,7 @@ pub enum Error { FlatDecode(#[from] flat_rs::de::Error), #[error("{0}")] FragmentDecode(#[from] pallas_primitives::Error), - #[error("{}", .0)] + #[error("{}\n\n{:#?}\n\n{}", .0, .1, .2.join("\n"))] Machine(machine::Error, ExBudget, Vec), #[error("Native script can't be executed in phase-two")] NativeScriptPhaseTwo,