diff --git a/types/src/transaction/mod.rs b/types/src/transaction/mod.rs index 02085985d088c..f0601df007400 100644 --- a/types/src/transaction/mod.rs +++ b/types/src/transaction/mod.rs @@ -1287,10 +1287,11 @@ impl TransactionOutput { let expected_txn_status: TransactionStatus = txn_info.status().clone().into(); ensure!( self.status() == &expected_txn_status, - "{}: version:{}, status:{:?}, expected:{:?}", + "{}: version:{}, status:{:?}, auxiliary data:{:?}, expected:{:?}", ERR_MSG, version, self.status(), + self.auxiliary_data(), expected_txn_status, );