This commit is contained in:
Dave Gallant
2023-02-06 21:07:17 -05:00
committed by GitHub
parent 7459fc2320
commit a524bacdeb
3 changed files with 194 additions and 214 deletions

View File

@@ -53,7 +53,7 @@ pub fn send(topic: &Topic, posts: &Posts, expression: &str, config: &Config) {
debug!("Sending email notification.");
match sg.send(mail_info) {
Err(err) => println!("SendGrid failed to send mail. Error: {}", err),
Ok(body) => println!("SendGrid Response: {:?}", body),
Err(err) => println!("SendGrid failed to send mail. Error: {err}"),
Ok(body) => println!("SendGrid Response: {body:?}"),
};
}