Mail: also debug log data

This commit is contained in:
Alice Gaudon 2021-01-25 14:36:27 +01:00
parent 27bce2da0a
commit b211845f57

View File

@ -110,7 +110,7 @@ export default class Mail {
this.data.app = config.get('app'); this.data.app = config.get('app');
// Log // Log
logger.debug('Send mail', this.options); logger.debug('Send mail', this.options, this.data);
// Render email // Render email
this.options.html = Mail.parse(this.environment, 'mails/' + this.template.template + '.mjml.njk', this.options.html = Mail.parse(this.environment, 'mails/' + this.template.template + '.mjml.njk',