Title: Send symbolicated stack traces in Next.js dev mode · Issue #7286 · getsentry/sentry-javascript · GitHub
Open Graph Title: Send symbolicated stack traces in Next.js dev mode · Issue #7286 · getsentry/sentry-javascript
X Title: Send symbolicated stack traces in Next.js dev mode · Issue #7286 · getsentry/sentry-javascript
Description: Problem Statement The Next.js SDK doesn't automatically upload source maps for Next.js development builds. This is intentional because we would retrigger source map uploads for every file change the user makes, which could lead to slowdo...
Open Graph Description: Problem Statement The Next.js SDK doesn't automatically upload source maps for Next.js development builds. This is intentional because we would retrigger source map uploads for every file change th...
X Description: Problem Statement The Next.js SDK doesn't automatically upload source maps for Next.js development builds. This is intentional because we would retrigger source map uploads for every file chang...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/7286
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Send symbolicated stack traces in Next.js dev mode","articleBody":"### Problem Statement\r\n\r\nThe Next.js SDK doesn't automatically upload source maps for Next.js development builds. This is intentional because we would retrigger source map uploads for every file change the user makes, which could lead to slowdowns and release spam in Sentry.\r\n\r\nUnfortunately, this means that any errors or captured exceptions in dev mode do not have symbolicated stack traces and look very angry:\r\n\r\n\r\n\r\n\r\n**This is very bad because it is the first thing users see when they look at their first event in Sentry.** They might ask themselves: \"What the heck? Why is this page screaming at me and what on earth is a source map.\"\r\n\r\n### Solution Brainstorm\r\n\r\nNext.js has a dev overlay that shows symbolicated stack traces when an error happens. This overlay pings the Next.js dev server with the thrown error which then symbolicates the error for the overlay.\r\n\r\n\r\n\r\nWe can leverage this endpoint on the dev server to symbolicate any errors that would be reported to Sentry. The symbolicated frames can be attached to the error via context lines.","author":{"url":"https://github.com/lforst","@type":"Person","name":"lforst"},"datePublished":"2023-02-27T14:51:40Z","url":"https://github.com/getsentry/sentry-javascript/issues/7286"}
| 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:c2f45d0e-e49a-efef-e9bc-17c8e0a134b0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B85A:1453CC:A29148:DD564A:6B048382 |
| html-safe-nonce | ee5d6ccc760d26dd860683e8ad4197cbbbb452d3332fa8e22c70b338479fb9c6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODVBOjE0NTNDQzpBMjkxNDg6REQ1NjRBOjZCMDQ4MzgyIiwidmlzaXRvcl9pZCI6Ijc4NzQzNTE3NDYxNzEzMDY4ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 75e46000b10bc875c8d6388368ac724450d828fa19543913f55f9fb8996e6568 |
| hovercard-subject-tag | issue:1601342256 |
| 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/7286/issue_layout |
| twitter:image | https://opengraph.githubassets.com/41ac637b9b18745b5967a34a211b13df993b9edf4d4d981dc88bc650b13ade0d/getsentry/sentry-javascript/issues/7286 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/41ac637b9b18745b5967a34a211b13df993b9edf4d4d981dc88bc650b13ade0d/getsentry/sentry-javascript/issues/7286 |
| og:image:alt | Problem Statement The Next.js SDK doesn't automatically upload source maps for Next.js development builds. This is intentional because we would retrigger source map uploads for every file change th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lforst |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d5c152376e38b7d2e37f3d5179be29a73bee93b85110da28a4eebe1159cdc70 |
| 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 | f5017e8ff4ea25a8011fcf0f2a0e430c60dc86c8 |
| 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