Skip to content

Commit

Permalink
[replay] Add error messages from aux data
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemitenkov committed Nov 1, 2024
1 parent dd5371e commit e034c3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion types/src/transaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);

Expand Down

0 comments on commit e034c3d

Please sign in to comment.