mirror of
https://github.com/Tusko/vimeo-private-downloader.git
synced 2025-08-21 05:44:04 -07:00
refact: improve the log on request timeout
This commit is contained in:
parent
85db8c5885
commit
99138a617e
1 changed files with 3 additions and 3 deletions
|
@ -134,8 +134,8 @@ function getJson(url, cb) {
|
||||||
});
|
});
|
||||||
|
|
||||||
req.setTimeout(7000, function () {
|
req.setTimeout(7000, function () {
|
||||||
console.log("Timeout. Retrying");
|
log("⚠️", 'Timeout. Retrying');
|
||||||
combineSegments(type, i, segmentsUrl, output, filename, downloadingFlag, cb)
|
combineSegments(type, i, segmentsUrl, output, filename, downloadingFlag, cb);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -154,4 +154,4 @@ function initJs(n = 0) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
initJs();
|
initJs();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue