nit expect

This commit is contained in:
Ruben Fiszel
2024-07-09 08:45:36 +02:00
parent 996408d73d
commit 6955fed266
+3 -1
View File
@@ -1924,7 +1924,9 @@ pub async fn run_worker<R: rsmq_async::RsmqConnection + Send + Sync + Clone + 's
drop(job_completed_tx);
send_result.await.expect("send result failed");
if let Err(e) = send_result.await {
tracing::error!("error in awaiting send_result process: {e:?}")
}
tracing::info!("worker {} exited", worker_name);
}