Add app up event

This commit is contained in:
Girish Ramakrishnan
2019-02-11 12:34:06 -08:00
parent 82c5531d04
commit b708eb94d2
2 changed files with 7 additions and 1 deletions

View File

@@ -372,6 +372,7 @@ var ACTION_APP_UNINSTALL = 'app.uninstall';
var ACTION_APP_UPDATE = 'app.update';
var ACTION_APP_LOGIN = 'app.login';
var ACTION_APP_OOM = 'app.oom';
var ACTION_APP_UP = 'app.up';
var ACTION_APP_DOWN = 'app.down';
var ACTION_APP_TASK_CRASH = 'app.task.crash';
@@ -477,7 +478,10 @@ app.filter('eventLogDetails', function() {
return source.app.manifest.title + ' ran out of memory';
case ACTION_APP_DOWN:
return source.app.manifest.title + ' is not reachable';
return source.app.manifest.title + ' is down';
case ACTION_APP_UP:
return source.app.manifest.title + ' is back online';
case ACTION_APP_TASK_CRASH:
return 'Apptask for app with id ' + source.appId + ' crashed';