Skip to content

Exclude divs and spans from stacktrace #8102

@armenzg

Description

@armenzg

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/react

SDK Version

7.51.10

Framework Version

No response

Link to Sentry event

https://sentry.sentry.io/issues/4146750272/?project=11276

SDK Setup

n/a

Steps to Reproduce

  • Load the URL provided
  • Scroll down to "React ErrorBoundary Error"

Expected Result

div and span should not be included in the stacktrace frames.

Actual Result

If you look under raw_stacktrace you will see the following:

{
"filename": "div",
"abs_path": "div",
"in_app": true
},
{
"filename": "span",
"abs_path": "span",
"in_app": true
}
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: reactIssues related to the Sentry React SDK

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions