mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-01-11 20:10:20 +00:00
added error log to unlink
This commit is contained in:
parent
11cea4fcfa
commit
8546ba4a5d
1 changed files with 3 additions and 1 deletions
|
|
@ -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!');
|
||||
|
|
|
|||
Loading…
Reference in a new issue