Title: Next.js package does not report server and some client errors · Issue #3869 · getsentry/sentry-javascript · GitHub
Open Graph Title: Next.js package does not report server and some client errors · Issue #3869 · getsentry/sentry-javascript
X Title: Next.js package does not report server and some client errors · Issue #3869 · getsentry/sentry-javascript
Description: Package + Version @sentry/nextjs@^6.10.0 Description I am finding that the Next.js plugin does not report server side errors and some client side errors. Using create-next-app and @sentry/wizard I have set up the most basic project which...
Open Graph Description: Package + Version @sentry/nextjs@^6.10.0 Description I am finding that the Next.js plugin does not report server side errors and some client side errors. Using create-next-app and @sentry/wizard I ...
X Description: Package + Version @sentry/nextjs@^6.10.0 Description I am finding that the Next.js plugin does not report server side errors and some client side errors. Using create-next-app and @sentry/wizard I ...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/3869
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Next.js package does not report server and some client errors","articleBody":"## Package + Version\r\n\r\n- `@sentry/nextjs@^6.10.0`\r\n\r\n## Description\r\n\r\nI am finding that the Next.js plugin does not report server side errors and some client side errors.\r\n\r\nUsing `create-next-app` and `@sentry/wizard` I have set up the most basic project which is deployed to Vercel. You can find my source code here: https://github.com/jsakas/sentry-next-test\r\n\r\nI have three routes:\r\n\r\n- https://sentry-next-test.vercel.app/throw-client -- calls an undefined function in `useEffect` generating a client error \r\n- https://sentry-next-test.vercel.app/throw-server -- calls an undefined function in `getServerSideProps` generating a server error\r\n- https://sentry-next-test.vercel.app/throw-button -- throws an unhandled exception from clicking a button (same example as from the docs)\r\n\r\nOnly the third example, throwing on button click, works as expected. However this is the most unlikely use case for us. We recently had a unhandled server side exception (in `getServerSideProps`) which caused our site to crash. This error was not reported by Sentry and our customers ended up notifying our support team of the issue. \r\n\r\nHere is the test project: https://sentry.io/organizations/guesthouse/issues/?project=5893235\r\n\r\n\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/jsakas","@type":"Person","name":"jsakas"},"datePublished":"2021-08-04T19:27:37Z","url":"https://github.com/getsentry/sentry-javascript/issues/3869"}
| 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:38b06263-fc43-69a4-42dd-a921dc86f48c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B7CE:237D74:6F0241:963AC3:6B044443 |
| html-safe-nonce | 1cea9711887200a14eaf3a81df98a71f5eebfa4ce7781beddedee61ad38efc75 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0NFOjIzN0Q3NDo2RjAyNDE6OTYzQUMzOjZCMDQ0NDQzIiwidmlzaXRvcl9pZCI6IjEzNTg3MTE2NzMyMjk0Mjc3NzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cc47053cf98406f30ab1b3cc537449a65398b89579d3b260be569632eb290e4b |
| hovercard-subject-tag | issue:960925660 |
| 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/3869/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e9b0ef0e12248b5e6e61f68e1af708207209cc739d41c68baf0d4e153f0cc264/getsentry/sentry-javascript/issues/3869 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e9b0ef0e12248b5e6e61f68e1af708207209cc739d41c68baf0d4e153f0cc264/getsentry/sentry-javascript/issues/3869 |
| og:image:alt | Package + Version @sentry/nextjs@^6.10.0 Description I am finding that the Next.js plugin does not report server side errors and some client side errors. Using create-next-app and @sentry/wizard I ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jsakas |
| hostname | github.com |
| expected-hostname | github.com |
| None | d4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46 |
| 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 | 9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77 |
| 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