The held reason is a fact, not a lecture
Browse files at this commit67a737306d6b5f3783c596900d0613a5136cf6a8Parent: d4dffdb- fix
- the held reason is a fact, not a lecture
1 changed file +1 -3
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 owed | 197 | // 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).await | 201 | self.transport(&want).await?.send(mail).await |
| 204 | } | 202 | } |