mirror of
https://github.com/chatmail/core.git
synced 2026-05-19 23:06:32 +03:00
display failed messages
This commit is contained in:
committed by
holger krekel
parent
c5f64d2988
commit
70cef68eeb
@@ -65,12 +65,12 @@ pub unsafe fn dc_receive_imf(
|
||||
|
||||
let mut mime_parser = MimeParser::new(context);
|
||||
if let Err(err) = mime_parser.parse(imf_raw) {
|
||||
error!(context, "dc_receive_imf parse error: {}", err);
|
||||
warn!(context, "dc_receive_imf parse error: {}", err);
|
||||
};
|
||||
|
||||
if mime_parser.header.is_empty() {
|
||||
// Error - even adding an empty record won't help as we do not know the message ID
|
||||
info!(context, "No header.");
|
||||
warn!(context, "No header.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user