mirror of
https://github.com/rustmailer/bichon.git
synced 2026-08-03 07:48:34 +02:00
update
This commit is contained in:
@@ -569,8 +569,7 @@ pub async fn reattach_eml_content_self_healing(
|
|||||||
error = %e,
|
error = %e,
|
||||||
"On-demand IMAP fetch for missing content blob failed; returning not-found"
|
"On-demand IMAP fetch for missing content blob failed; returning not-found"
|
||||||
);
|
);
|
||||||
// Surface the canonical "content not found" error to the caller.
|
Err(e)
|
||||||
reattach_eml_content(account_id, envelope_id)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -330,13 +330,13 @@ impl ImapExecutor {
|
|||||||
})?
|
})?
|
||||||
.to_vec();
|
.to_vec();
|
||||||
|
|
||||||
// Drain any remaining items so the stream is fully consumed before reuse.
|
// // Drain any remaining items so the stream is fully consumed before reuse.
|
||||||
while stream
|
// while stream
|
||||||
.try_next()
|
// .try_next()
|
||||||
.await
|
// .await
|
||||||
.map_err(|e| raise_error!(format!("{:#?}", e), ErrorCode::ImapCommandFailed))?
|
// .map_err(|e| raise_error!(format!("{:#?}", e), ErrorCode::ImapCommandFailed))?
|
||||||
.is_some()
|
// .is_some()
|
||||||
{}
|
// {}
|
||||||
|
|
||||||
Ok(body)
|
Ok(body)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user