Mail: also debug log data
This commit is contained in:
parent
27bce2da0a
commit
b211845f57
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user