Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch rate limit errors #7

Open
KevinLu opened this issue Oct 19, 2021 · 0 comments
Open

Catch rate limit errors #7

KevinLu opened this issue Oct 19, 2021 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@KevinLu
Copy link
Owner

KevinLu commented Oct 19, 2021

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.

@KevinLu KevinLu added bug Something isn't working enhancement New feature or request labels Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant