🎨 Output error message to help debugging
This commit is contained in:
parent
cb0807d3cf
commit
a14727f3f0
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,8 @@ export default async function downloadWrapper({ host, path, size, useCurl = fals
|
||||||
try {
|
try {
|
||||||
const downloadResult = await downloadWithCurl({ host, path, tempFileName });
|
const downloadResult = await downloadWithCurl({ host, path, tempFileName });
|
||||||
return downloadResult;
|
return downloadResult;
|
||||||
} catch {
|
} catch (err) {
|
||||||
|
console.error(err);
|
||||||
//ignore error and try again
|
//ignore error and try again
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue