Log errors in the user module
This commit is contained in:
parent
b0f0633338
commit
7b9df97a32
6 changed files with 199 additions and 118 deletions
|
|
@ -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())?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue