Skip to content

Commit 05ffbad

Browse files
authored
#573 Throw new Error when version can't be downloaded (#596)
* get fallback version if bundle is not available for wanted platform Meant to fix #589 * Linting compute-download-urls.js * Throw new Error when version can't be downloaded This is meant to fix #573
1 parent 0423ec0 commit 05ffbad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/install.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ async function install(_opts) {
315315
} else {
316316
reject(logError('getDownloadStream', err, 'Could not download ' + downloadUrl));
317317
}
318+
throw new Error('Could not download ' + downloadUrl);
318319
});
319320
});
320321
}

0 commit comments

Comments
 (0)