Skip to content

@sentry/nextjs: Ability to opt-out of "specific message is omitted in production builds to avoid leaking sensitive details" #12992

@stephenhmarsh

Description

@stephenhmarsh

Problem Statement

This has been extremely frustrating for me because it omits the entire stack trace:

Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.

Solution Brainstorm

There should be a config option to allow the full errors to get reported like normal.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions