Skip to content

Commit

Permalink
Change system mailer log syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
megastary committed Oct 18, 2023
1 parent 6a2a88e commit af86ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/sendMail.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export function sendMail(mailto, mailsubject, mailbody, image) {
// In case mail is destined for system administrator or we run in development environment, send all e-mails to system address obtained from config.
if (process.env.NODE_ENV === 'development' || mailto === 'system@system') {
logger.warn(
`server.functions.sendmail__Sending e-mail [${mailsubject}] to administrator address.`
`server.functions.sendmail__Sending e-mail [${mailsubject}] to system administrator.`
)
mailto = process.env.MAIL_SYSTEM || 'root@localhost'
}
Expand Down

0 comments on commit af86ce7

Please sign in to comment.