Skip to content

Handle statusMessage: 'Too Many Requests' ? #60

@hems

Description

@hems

During my tests i run into this http response a few times:

statusCode: 429, statusMessage: 'Too Many Requests',

But the library only yields an error saying "DiscogsError: Unknown error."

Would it be possible to yield a more descriptive error in this case?

Also, I'm wondering if wouldn't be better to have some settings on the library to automatically "cool down" ( wait a 1 minute ) and retry the call again if a message like that happens?

Also: can't thank you enough for the work you have put into this library, thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions