Skip to content

Stop exposing upstream and Stripe error details to clients #1463

Description

@groupthinking

Sanitize Next.js API route error responses so third-party/OpenAI/Stripe raw messages and internals never reach callers while preserving server-side logging and stable error codes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions