Print OOM context

This commit is contained in:
Girish Ramakrishnan
2015-09-14 17:18:11 -07:00
parent e119acbfc4
commit e967e50238
+1
View File
@@ -140,6 +140,7 @@ function processDockerEvents() {
var context = JSON.stringify(ev);
if (app) context = context + '\n\n' + JSON.stringify(app, null, 4) + '\n';
debug('OOM Context: %s', context);
mailer.sendCrashNotification(program, context); // app can be null if it's an addon crash
});
});