Skip to content

Commit

Permalink
Don't log crit when tokio stops block import
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhauner committed Jun 28, 2022
1 parent 90730a7 commit d84550f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions beacon_node/beacon_chain/src/beacon_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2447,6 +2447,14 @@ impl<T: BeaconChainTypes> BeaconChain<T> {

Ok(block_root)
}
Err(e @ BlockError::BeaconChainError(BeaconChainError::TokioJoin(_))) => {
debug!(
self.log,
"Beacon block processing cancelled";
"error" => ?e,
);
Err(e)
}
// There was an error whilst attempting to verify and import the block. The block might
// be partially verified or partially imported.
Err(BlockError::BeaconChainError(e)) => {
Expand Down

0 comments on commit d84550f

Please sign in to comment.