We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e088e7d commit 05f2c98Copy full SHA for 05f2c98
packages/node/download_core.js
@@ -55,7 +55,7 @@ const downloadAsset = async (asset) => {
55
console.log(`Downloading ${url}`);
56
const response = await fetch(url);
57
if (response.status != 200) {
58
- throw `Could not download ${url}`;
+ throw `Could not download ${url}: ${response.status} ${response.statusText}`;
59
}
60
61
const file = await fs.open(destinationPath, 'w');
0 commit comments