added error log to unlink

This commit is contained in:
stratumadev 2025-09-30 16:03:08 +02:00
parent 11cea4fcfa
commit 8546ba4a5d

View file

@ -132,7 +132,9 @@ class hlsDownload {
try {
await fs.unlink(fn);
await fs.unlink(`${fn}.resume`);
} catch (e) {}
} catch (e) {
console.error(e);
}
}
} catch (e) {
console.error('Resume failed, downloading will be not resumed!');