Don't return from sending welcome mail

closes #5675

- welcome mail is non-critical, invalid mail setups shouldn't interfere with setting up a blog
This commit is contained in:
Hannah Wolfe 2015-08-25 09:08:11 +01:00
parent 222ecc08b6
commit 2c29ae1ad2

View File

@ -269,7 +269,7 @@ authentication = {
}]
};
return mail.send(payload, {context: {internal: true}}).catch(function (error) {
mail.send(payload, {context: {internal: true}}).catch(function (error) {
errors.logError(
error.message,
'Unable to send welcome email, your blog will continue to function.',