Skip to content

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

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions