Skip to content

Commit 05f2c98

Browse files
committed
Temp: Increase logging when failure in download_core.js
1 parent e088e7d commit 05f2c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/node/download_core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const downloadAsset = async (asset) => {
5555
console.log(`Downloading ${url}`);
5656
const response = await fetch(url);
5757
if (response.status != 200) {
58-
throw `Could not download ${url}`;
58+
throw `Could not download ${url}: ${response.status} ${response.statusText}`;
5959
}
6060

6161
const file = await fs.open(destinationPath, 'w');

0 commit comments

Comments
 (0)