From a56d5ee0ce25cf3a73147ed11933bfd2d9880dab Mon Sep 17 00:00:00 2001 From: Dzejkop Date: Tue, 18 Jun 2024 16:02:41 +0200 Subject: [PATCH] Full print anyhow error --- src/ethereum/write/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ethereum/write/mod.rs b/src/ethereum/write/mod.rs index f9ff44da..323483d7 100644 --- a/src/ethereum/write/mod.rs +++ b/src/ethereum/write/mod.rs @@ -16,7 +16,7 @@ pub enum TxError { #[error("Timeout while sending transaction")] SendTimeout, - #[error("Error sending transaction: {0}")] + #[error("Error sending transaction: {0:?}")] Send(anyhow::Error), #[error("Timeout while waiting for confirmations")] @@ -34,6 +34,6 @@ pub enum TxError { #[error("Error parsing transaction id: {0}")] Parse(Box), - #[error("{0}")] + #[error("{0:?}")] Other(anyhow::Error), }