send mail even if no related app was found (for addons)

This commit is contained in:
Girish Ramakrishnan
2015-11-10 01:39:02 -08:00
parent 4fb07a6ab3
commit 36daf86ea2
+1 -1
View File
@@ -151,7 +151,7 @@ function processDockerEvents() {
debug('OOM Context: %s', context);
// do not send mails for dev apps
if (app.appStoreId !== '') mailer.sendCrashNotification(program, context); // app can be null if it's an addon crash
if (error || app.appStoreId !== '') mailer.sendCrashNotification(program, context); // app can be null if it's an addon crash
});
});