Skip to content

Commit

Permalink
update error log
Browse files Browse the repository at this point in the history
  • Loading branch information
ss-es committed Jan 6, 2025
1 parent 874074e commit f63841c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/task-impls/src/quorum_vote/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ impl<TYPES: NodeType, I: NodeImplementation<TYPES>, V: Versions> QuorumVoteTaskS
self.epoch_height,
)
.await
.context(error!("Failed to update shared consensus state"))?;
.context(|e| error!("Failed to update shared consensus state, error = {}", e))?;

let current_block_number = proposed_leaf.height();
let current_epoch = TYPES::Epoch::new(epoch_from_block_number(
Expand Down Expand Up @@ -771,7 +771,7 @@ impl<TYPES: NodeType, I: NodeImplementation<TYPES>, V: Versions> QuorumVoteTaskS
self.epoch_height,
)
.await
.context(debug!("Failed to submit vote"))
.context(|e| debug!("Failed to submit vote; error = {}", e))
}
}

Expand Down

0 comments on commit f63841c

Please sign in to comment.