Send emails for apptask crash

This commit is contained in:
Johannes Zellner
2019-01-19 13:30:24 +01:00
parent bdcd9e035c
commit d3331fea7f
2 changed files with 23 additions and 1 deletions
+2
View File
@@ -113,6 +113,8 @@ function add(action, source, data, callback) {
notifications.oomEvent(id, source.app ? source.app.id : source.containerId, { app: source.app, details: data });
} if (action === exports.ACTION_APP_DOWN) {
notifications.appDied(id, source.app);
} if (action === exports.ACTION_APP_TASK_CRASH) {
notifications.apptaskCrash(id, source.appId, data.crashLogFile);
} if (action === exports.ACTION_PROCESS_CRASH) {
notifications.unexpectedExit(id, source.processName, data.crashLogFile);
} else {