Fix crashes in crash notification mail
This commit is contained in:
@@ -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
@@ -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' })
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user