diff --git a/src/cdn/downloadWrapper.ts b/src/cdn/downloadWrapper.ts index 14393e5..2b1d1cb 100644 --- a/src/cdn/downloadWrapper.ts +++ b/src/cdn/downloadWrapper.ts @@ -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 } }