Skip to content

Catch rate limit errors #7

@KevinLu

Description

@KevinLu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions