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,
|
||||
"On-demand IMAP fetch for missing content blob failed; returning not-found"
|
||||
);
|
||||
// Surface the canonical "content not found" error to the caller.
|
||||
reattach_eml_content(account_id, envelope_id)
|
||||
Err(e)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -330,13 +330,13 @@ impl ImapExecutor {
|
||||
})?
|
||||
.to_vec();
|
||||
|
||||
// Drain any remaining items so the stream is fully consumed before reuse.
|
||||
while stream
|
||||
.try_next()
|
||||
.await
|
||||
.map_err(|e| raise_error!(format!("{:#?}", e), ErrorCode::ImapCommandFailed))?
|
||||
.is_some()
|
||||
{}
|
||||
// // Drain any remaining items so the stream is fully consumed before reuse.
|
||||
// while stream
|
||||
// .try_next()
|
||||
// .await
|
||||
// .map_err(|e| raise_error!(format!("{:#?}", e), ErrorCode::ImapCommandFailed))?
|
||||
// .is_some()
|
||||
// {}
|
||||
|
||||
Ok(body)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user