log warning when channel send fails (#18391)

This commit is contained in:
Tao Zhu 2021-07-02 14:04:09 -05:00 committed by GitHub
parent 55dd6d948f
commit 7cd6224caf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1821,7 +1821,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