From ddc154e5cdac9705b8ed232664a1e279a2e6f917 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 7 Jan 2025 10:20:37 +0100 Subject: [PATCH] notify: add missing tracing::error macro import Signed-off-by: Wolfgang Bumiller --- proxmox-notify/src/endpoints/smtp.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/proxmox-notify/src/endpoints/smtp.rs b/proxmox-notify/src/endpoints/smtp.rs index 6bb2d2d0..b88e6c95 100644 --- a/proxmox-notify/src/endpoints/smtp.rs +++ b/proxmox-notify/src/endpoints/smtp.rs @@ -254,6 +254,7 @@ impl Endpoint for SmtpEndpoint { Content::ForwardedMail { ref raw, title, .. } => { use lettre::message::header::ContentTransferEncoding; use lettre::message::Body; + use tracing::error; let parsed_message = mail_parser::Message::parse(raw) .ok_or_else(|| Error::Generic("could not parse forwarded email".to_string()))?;