mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-09 03:52:13 +00:00
ready_queue: improve debug logging for deliver_message error case
This commit is contained in:
@@ -756,7 +756,11 @@ impl Dispatcher {
|
||||
.await
|
||||
{
|
||||
// Transient failure; continue with another host
|
||||
tracing::debug!("failed to send message to {}: {err:#}", self.name,);
|
||||
tracing::debug!(
|
||||
"failed to send message id {:?} to {}: {err:#}",
|
||||
self.msg.as_ref().map(|msg| format!("{}", msg.id())),
|
||||
self.name,
|
||||
);
|
||||
return Err(err.into());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user