Skip to content

Commit

Permalink
consensus: include more detailed information on network errors (Myste…
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwill authored May 11, 2022
1 parent d710f34 commit a542405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sui_core/src/consensus_adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ impl ConsensusAdapter {
.clone()
.submit_transaction(TransactionProto { transaction: bytes })
.await
.map_err(|e| SuiError::ConsensusConnectionBroken(e.to_string()))?;
.map_err(|e| SuiError::ConsensusConnectionBroken(format!("{:?}", e)))?;
}

// Wait for the consensus to sequence the certificate and assign locks to shared objects.
Expand Down

0 comments on commit a542405

Please sign in to comment.