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 16, 2021
1 parent 05fcdc6 commit c12d1ee
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 @@ -1807,7 +1807,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 c12d1ee

Please sign in to comment.