Skip to content

Commit

Permalink
log warning when channel send fails (solana-labs#18391)
Browse files Browse the repository at this point in the history
  • Loading branch information
tao-stones committed Jul 17, 2021
1 parent 09629b5 commit 6e7ae8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/replay_stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1810,7 +1810,7 @@ impl ReplayStage {
// send accumulated excute-timings to cost_update_service
cost_update_sender
.send(execute_timings)
.expect("send execution cost update to cost_model");
.unwrap_or_else(|err| warn!("cost_update_sender failed: {:?}", err));

inc_new_counter_info!("replay_stage-replay_transactions", tx_count);
did_complete_bank
Expand Down

0 comments on commit 6e7ae8a

Please sign in to comment.