Closed gaeldemarseille closed 5 years ago
The web requests in the twitchapi.js
file need some more logic for checking for errors and retrying still, which would fix this issue.
I am currently getting quite a few "Cannot read property 'body' of undefined" in relation to this, not on the same lines either, this should really be fixed before ESA.
On ESA branch, have implemented some retrying code for the 2 most important parts, checkTokenValidity and updateToken, the rest still needs some improving though. This is enough to remove the esa-summer-2018 label.
Going to close this for now, haven't had this actual issue happen for a while, the Twitch API implementation could do with some improvement but that needs to be a separate issue.
I was testing speedcontrol and my internet might have gone down and it crashed