Print more program error info to user when using CLI (#8098)
This commit is contained in:
@@ -66,7 +66,7 @@ pub type Result<T> = result::Result<T, TransactionError>;
|
||||
|
||||
impl std::fmt::Display for TransactionError {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
write!(f, "transaction error")
|
||||
write!(f, "TransactionError::{:?}", self)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user