Fixed imap directory trace

This commit is contained in:
Mauro D
2023-10-24 21:50:42 +02:00
parent b5fe327e83
commit c576196ee1
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ impl Directory for ImapDirectory {
tracing::warn!(
context = "remote",
event = "error",
protocol = "ldap",
protocol = "imap",
"IMAP server does not offer any supported auth mechanisms.",
);
return Ok(None);

View File

@@ -398,7 +398,7 @@ impl From<ImapError> for DirectoryError {
tracing::warn!(
context = "directory",
event = "error",
protocol = "ldap",
protocol = "imap",
reason = %error,
"IMAP directory error"
);