From c9a2d797012a506f853e93ca5f839e85f22b1450 Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Tue, 11 Aug 2020 10:18:31 +0200 Subject: [PATCH] fix(Email): log source --- src/EmailService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EmailService.ts b/src/EmailService.ts index 01dd424..8b597d8 100644 --- a/src/EmailService.ts +++ b/src/EmailService.ts @@ -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() })