Skip to content

Commit 6e2d337

Browse files
authored
improves database error logging (#109)
1 parent a74ef27 commit 6e2d337

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/driver/alloy.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ impl<Db: Database> core::fmt::Display for BundleError<Db> {
5757
Self::BundleEmpty => write!(f, "bundle has no transactions"),
5858
Self::Eip4844BlobGasExceeded => write!(f, "max blob gas limit exceeded"),
5959
Self::UnsupportedTransactionType => write!(f, "unsupported transaction type"),
60-
Self::TransactionDecodingError(_) => write!(f, "transaction decoding error"),
61-
Self::TransactionSenderRecoveryError(_) => {
62-
write!(f, "transaction sender recovery error")
60+
Self::TransactionDecodingError(err) => write!(f, "transaction decoding error: {}", err),
61+
Self::TransactionSenderRecoveryError(err) => {
62+
write!(f, "transaction sender recovery error: {}", err)
6363
}
64-
Self::EVMError { inner: _ } => write!(f, "internal EVM Error"),
64+
Self::EVMError { inner } => write!(f, "internal EVM error: {}", inner),
6565
}
6666
}
6767
}

0 commit comments

Comments
 (0)