Mino changes (#217)
* added Unipr info in the Specialized vesion section * added response body on API call error (verbose)
This commit is contained in:
parent
7fc7c4733a
commit
4545b010b3
2 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,7 @@ This release would not have been possible without the code and time contributed
|
|||
- [Politecnico di Milano][polimi]: fork over at https://github.com/SamanFekri/destreamer
|
||||
- [Università di Pisa][unipi]: fork over at https://github.com/Guray00/destreamer-unipi
|
||||
- [Università della Calabria][unical]: fork over at https://github.com/peppelongo96/UnicalDown
|
||||
- [Università degli Studi di Parma][unipr]: fork over at https://github.com/vRuslan/destreamer-unipr
|
||||
|
||||
## What's new
|
||||
### v2.2
|
||||
|
@ -196,3 +197,4 @@ Please open an [issue](https://github.com/snobu/destreamer/issues) and we'll loo
|
|||
[polimi]: https://www.polimi.it
|
||||
[unipi]: https://www.unipi.it/
|
||||
[unical]: https://www.unical.it/portale/
|
||||
[unipr]: https://www.unipr.it/
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue