appstore: fail properly for non-200 when downloading icon

This commit is contained in:
Girish Ramakrishnan
2025-07-21 12:11:26 +02:00
parent d857ca46e0
commit e7799fef1c
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -199,8 +199,7 @@ async function verifyManifest(manifest) {
async function downloadIcon(app) {
assert.strictEqual(typeof app, 'object');
// nothing to download if we dont have an appStoreId
if (!app.appStoreId) return;
if (!app.appStoreId) return; // nothing to download if we dont have an appStoreId
debug(`downloadIcon: Downloading icon of ${app.appStoreId}@${app.manifest.version}`);