fix(Email): log source

This commit is contained in:
Matthieu Bessat 2020-08-11 10:18:31 +02:00
parent 00f4de5765
commit c9a2d79701

View file

@ -77,10 +77,10 @@ export default class EmailService {
resolve() resolve()
} else { } else {
this.nativeSend(config).then(res => { this.nativeSend(config).then(res => {
console.log('> A "' + templateName + '" email was sent to ' + to) console.log('> EmailService: A "' + templateName + '" email was sent to ' + to)
resolve(res) resolve(res)
}).catch(err => { }).catch(err => {
console.log('> A "' + templateName + '" email failed to be sent to ' + to) console.log('> EmailService: A "' + templateName + '" email failed to be sent to ' + to)
console.error(err) console.error(err)
reject() reject()
}) })