-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[nextjs] Fix transaction name getting lost when hitting _error page #5826
Copy link
Copy link
Closed
Labels
Package: nextjsIssues related to the Sentry Nextjs SDKIssues related to the Sentry Nextjs SDK
Milestone
Description
In the nextjs SDK, when a user hits the _error page, the original transaction name gets overwritten with _error. This causes two problems:
-
It makes it so a user would not be able to tell that they have a particularly buggy route, since every time it errored, it would show up in the Sentry UI filed under
_errorrather than the real route name. -
The DSC can get propagated with the original transaction name, but that then doesn't match up with the eventual transaction name.
We should prevent the original name from getting overwritten.
(This is current as of 7.13.0.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Package: nextjsIssues related to the Sentry Nextjs SDKIssues related to the Sentry Nextjs SDK
Fields
Give feedbackNo fields configured for issues without a type.