mirror of
https://github.com/snobu/destreamer.git
synced 2026-01-21 07:22:15 +00:00
Merge branch 'master' of https://github.com/snobu/destreamer into aria2c_forRealNow
This commit is contained in:
@@ -34,6 +34,7 @@ export class ApiClient {
|
||||
return true;
|
||||
}
|
||||
logger.warn(`Got HTTP code ${err?.response?.status ?? undefined}. Retrying request...`);
|
||||
logger.verbose(`Here is the error message: \n '${err.response?.data}`);
|
||||
|
||||
const shouldRetry: boolean = retryCodes.includes(err?.response?.status ?? 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user