Sometimes we exceed the rate limit on Riot's API and we don't catch these errors properly.
This will result in the request to /championList never completing and the frontend stuck in the loading animation forever.
We should check if our requests to Riot API got rate limited and throw the error back to frontend.
We can also add some kind of timeout to avoid getting rate limited.
Sometimes we exceed the rate limit on Riot's API and we don't catch these errors properly.
This will result in the request to
/championListnever completing and the frontend stuck in the loading animation forever.We should check if our requests to Riot API got rate limited and throw the error back to frontend.
We can also add some kind of timeout to avoid getting rate limited.