🎨 Output error message to help debugging

This commit is contained in:
C-3PO 2018-10-14 00:33:28 +02:00
parent cb0807d3cf
commit a14727f3f0
Signed by: c3po
GPG key ID: 62993C4BB4D86F24

View file

@ -28,7 +28,8 @@ export default async function downloadWrapper({ host, path, size, useCurl = fals
try {
const downloadResult = await downloadWithCurl({ host, path, tempFileName });
return downloadResult;
} catch {
} catch (err) {
console.error(err);
//ignore error and try again
}
}