This commit is contained in:
rustmailer
2026-05-23 12:08:49 +08:00
parent 36f3f19cdc
commit d8b78b8010
2 changed files with 8 additions and 9 deletions
+1 -2
View File
@@ -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)
}
}
}
+7 -7
View File
@@ -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)
}