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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions