forge
Explore
Log in

Don't you dare go Hollow

The held reason is a fact, not a lecture

Browse files at this commit

67a737306d6b5f3783c596900d0613a5136cf6a8Ahmet Kaan GümüşParent: d4dffdb
  • fix
    • the held reason is a fact, not a lecture
Show full message
💄 fix(smtp): the held reason is a fact, not a lecture
crates/izlek-web/src/smtp.rsmodified+1 -3
@@ -196,9 +196,7 @@ impl Mailer for WorkspaceSmtp {
196 let Some(want) = self.sending().await? else {196 let Some(want) = self.sending().await? else {
197 // Not a failure, and pointedly not an attempt: the mail is owed197 // Not a failure, and pointedly not an attempt: the mail is owed
198 // until somebody fills the sender in.198 // until somebody fills the sender in.
199- return Err(MailError::unsent(199+ return Err(MailError::unsent("no sender configured"));
200- "no sender is configured, so this is waiting rather than failing",
201- ));
202 };200 };
203 self.transport(&want).await?.send(mail).await201 self.transport(&want).await?.send(mail).await
204 }202 }