Fix crashes in crash notification mail

This commit is contained in:
Johannes Zellner
2015-06-08 21:37:34 +02:00
parent 9fb81d2d06
commit dba2c3539f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
Dear Cloudron Team,
unfortunately the '<%= program %>' crashed unexpectedly on <%= app.fqdn %>!
unfortunately the <%= program %> on <%= fqdn %> crashed unexpectedly!
Please see some excerpt of the logs below.
+1 -1
View File
@@ -275,7 +275,7 @@ function sendCrashNotification(program, context) {
var mailOptions = {
from: config.get('mailUsername'),
to: 'admin@cloudron.io',
subject: util.format('[%] %s has crashed', config.fqdn(), program),
subject: util.format('[%s] %s exited unexpectedly', config.fqdn(), program),
text: render('crash_notification.ejs', { fqdn: config.fqdn(), program: program, context: context, format: 'text' })
};