Skip to content

Question: Source mapping componentStack from error boundary in production #6667

Description

@danielkcz

Lately, I am trying to use error boundaries to tackle unexpected errors more properly. I am also logging most of the errors to the Sentry service. I am sending the componentStack from componentDidMount there as well, but since it's minified, it feels fairly useless.

image

I am wondering what are my options if any. Since that output is pretty much just a string, the source mapping does not seem possible at any level.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions