fix(Email): log source
This commit is contained in:
parent
00f4de5765
commit
c9a2d79701
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue