Log errors in the user module

This commit is contained in:
Greg Burri 2025-04-27 02:57:08 +02:00
parent b0f0633338
commit 7b9df97a32
6 changed files with 199 additions and 118 deletions

View file

@ -30,7 +30,7 @@ pub async fn send_email(
) -> Result<(), Error> {
let email = Message::builder()
.message_id(None)
.from("recipes@recipes.gburri.org".parse()?)
.from(consts::EMAIL_ADDRESS.parse()?)
.to(email.parse()?)
.subject(title)
.body(message.to_string())?;