Skip to content
Snippets Groups Projects
Commit c4f8abc8 authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

include email address we couldn't send email to when logging send errors. closes #1069

parent 6a76594b
No related branches found
No related tags found
No related merge requests found
......@@ -64,9 +64,8 @@ function doSend(landing_page, email, site, secret, langContext) {
subject: subject,
body: template({ link: url, site: site, gettext: _, format: format })
}, function(err, success){
if(!success) {
logger.error("error sending email: " + err);
logger.error("verification URL: " + url);
if (!success) {
logger.error("error sending email to: " + email + " - " + err);
}
});
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment