Fix usage of safe()

This commit is contained in:
Girish Ramakrishnan
2026-03-18 14:26:35 +05:30
parent f62df52c1d
commit 3d55423deb
6 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -867,7 +867,7 @@ async function run(appId, args, progressCallback) {
log('run: update aborted because backup failed');
await safe(updateApp(app, { installationState: apps.ISTATE_INSTALLED, error: null, health: null }, { log }));
} else {
await safe(updateApp(app, { installationState: apps.ISTATE_ERROR, error: makeTaskError(error, app) }), { log });
await safe(updateApp(app, { installationState: apps.ISTATE_ERROR, error: makeTaskError(error, app) }), { debug: log });
}
throw error;