mirror of
https://github.com/chatmail/core.git
synced 2026-04-21 15:36:30 +03:00
feat: improve logging of connection failures
Previously it was not always clear whether IMAP or SMTP connection failed and what was the endpoint used.
This commit is contained in:
@@ -136,7 +136,7 @@ async fn connection_attempt(
|
||||
Err(err) => {
|
||||
warn!(
|
||||
context,
|
||||
"Failed to connect to {host} ({resolved_addr}): {err:#}."
|
||||
"SMTP failed to connect to {host} ({resolved_addr}): {err:#}."
|
||||
);
|
||||
Err(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user