Skip to content

Commit a05d134

Browse files
dylanlottprestwich
authored andcommitted
improves database error logging (#109)
1 parent 0f21f79 commit a05d134

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
@@ -54,11 +54,11 @@ impl<Db: Database> core::fmt::Display for BundleError<Db> {
5454
Self::BundleEmpty => write!(f, "bundle has no transactions"),
5555
Self::Eip4844BlobGasExceeded => write!(f, "max blob gas limit exceeded"),
5656
Self::UnsupportedTransactionType => write!(f, "unsupported transaction type"),
57-
Self::TransactionDecodingError(_) => write!(f, "transaction decoding error"),
58-
Self::TransactionSenderRecoveryError(_) => {
59-
write!(f, "transaction sender recovery error")
57+
Self::TransactionDecodingError(err) => write!(f, "transaction decoding error: {}", err),
58+
Self::TransactionSenderRecoveryError(err) => {
59+
write!(f, "transaction sender recovery error: {}", err)
6060
}
61-
Self::EVMError { inner: _ } => write!(f, "internal EVM Error"),
61+
Self::EVMError { inner } => write!(f, "internal EVM error: {}", inner),
6262
}
6363
}
6464
}

0 commit comments

Comments
 (0)