appstore: fail properly for non-200 when downloading icon
This commit is contained in:
+1
-2
@@ -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}`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user