better app autoupdate logs

This commit is contained in:
Girish Ramakrishnan
2024-08-10 11:04:17 +02:00
parent 2857582f46
commit 8a640c8219
2 changed files with 4 additions and 3 deletions

View File

@@ -2628,8 +2628,9 @@ async function autoupdateApps(updateInfo, auditSource) { // updateInfo is { appI
force: false
};
debug(`app ${app.fqdn} will be automatically updated`);
const [updateError] = await safe(updateApp(app, data, auditSource));
if (updateError) debug(`Error initiating autoupdate of ${appId}. ${updateError.message}`);
if (updateError) debug(`Error autoupdating ${appId}. ${updateError.message}`);
}
}