Skip to content

SDK throws unhandled rejection when API quota is exceeded (Vercel only) #3

@francescobianco

Description

@francescobianco

When API quota is reached (HTTP 429), the SDK throws an unhandled rejection instead of returning a structured error object.
This crashes the Node process in production.
Expected: Graceful handling with error.code === 'RATE_LIMIT'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions