From b211845f572f3f2d46f786b986ff790455741c25 Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Mon, 25 Jan 2021 14:36:27 +0100 Subject: [PATCH] Mail: also debug log data --- src/mail/Mail.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mail/Mail.ts b/src/mail/Mail.ts index da66d79..6853cd4 100644 --- a/src/mail/Mail.ts +++ b/src/mail/Mail.ts @@ -110,7 +110,7 @@ export default class Mail { this.data.app = config.get('app'); // Log - logger.debug('Send mail', this.options); + logger.debug('Send mail', this.options, this.data); // Render email this.options.html = Mail.parse(this.environment, 'mails/' + this.template.template + '.mjml.njk',