mirror of
https://github.com/snobu/destreamer.git
synced 2026-02-15 19:19:42 +00:00
Mino changes (#217)
* added Unipr info in the Specialized vesion section * added response body on API call error (verbose)
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