notification: app updated message shown despite failure
This commit is contained in:
@@ -267,6 +267,8 @@ async function onEvent(id, action, source, data) {
|
||||
return await oomEvent(id, data.app, data.addon, data.containerId, data.event);
|
||||
|
||||
case eventlog.ACTION_APP_UPDATE_FINISH:
|
||||
if (source.username !== auditSource.CRON.username) return; // updated by user
|
||||
if (data.errorMessage) return; // the update indicator will still appear, so no need to notify user
|
||||
return await appUpdated(id, data.app);
|
||||
|
||||
case eventlog.ACTION_CERTIFICATE_RENEWAL:
|
||||
|
||||
Reference in New Issue
Block a user