mirror of
https://github.com/nitnelave/lldap.git
synced 2023-04-12 14:25:13 +00:00
server: Report errors sending email
This commit is contained in:
parent
0ccedc6717
commit
3a6c5fdc65
@ -156,6 +156,7 @@ where
|
||||
&data.mail_options,
|
||||
) {
|
||||
warn!("Error sending email: {:#?}", e);
|
||||
return HttpResponse::InternalServerError().body(format!("Could not send email: {}", e));
|
||||
}
|
||||
HttpResponse::Ok().finish()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user