Title: [nextjs] Fix transaction name getting lost when hitting `_error` page · Issue #5826 · getsentry/sentry-javascript · GitHub
Open Graph Title: [nextjs] Fix transaction name getting lost when hitting `_error` page · Issue #5826 · getsentry/sentry-javascript
X Title: [nextjs] Fix transaction name getting lost when hitting `_error` page · Issue #5826 · getsentry/sentry-javascript
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 e...
Open Graph 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 ...
X 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 ...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/5826
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[nextjs] Fix transaction name getting lost when hitting `_error` page","articleBody":"In the nextjs SDK, when a user hits the `_error` page, the original transaction name gets overwritten with `_error`. This causes two problems:\r\n\r\n1) 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 `_error` rather than the real route name.\r\n\r\n2) The DSC can get propagated with the original transaction name, but that then doesn't match up with the eventual transaction name.\r\n\r\nWe should prevent the original name from getting overwritten.\r\n\r\n(This is current as of 7.13.0.)","author":{"url":"https://github.com/lobsterkatie","@type":"Person","name":"lobsterkatie"},"datePublished":"2022-09-27T06:12:11Z","url":"https://github.com/getsentry/sentry-javascript/issues/5826"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c585db8f-d7e2-1693-ef02-0ba25b6b38e9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C074:35E323:9E1A48:DDCE43:6B042FE9 |
| html-safe-nonce | dc409b3c4ad6e7a56a64c45922ff4c47a7776fe49a3cfc88a4810fad581446ff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDc0OjM1RTMyMzo5RTFBNDg6RERDRTQzOjZCMDQyRkU5IiwidmlzaXRvcl9pZCI6Ijc4OTcxOTg0NjgyMjAwNzE5MTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9d808f4b2b28a9b12af42de1abaee9584bdb06411fa45eee5460a2b00fa1e990 |
| hovercard-subject-tag | issue:1387166165 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/5826/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a1033fca8bcb1e990c8a5662ddf2fe18235d20b7eded8cd52cee925a8afda633/getsentry/sentry-javascript/issues/5826 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a1033fca8bcb1e990c8a5662ddf2fe18235d20b7eded8cd52cee925a8afda633/getsentry/sentry-javascript/issues/5826 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lobsterkatie |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width