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()
|
||||
} else {
|
||||
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)
|
||||
}).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)
|
||||
reject()
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue