Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nextjs
SDK Version
8.9.2
Framework Version
Next.js canary, but same result using Next.js 14.2.4
Link to Sentry event
No response
SDK Setup
No response
Steps to Reproduce
- Clone https://github.com/qnten/sentry-next-server-component-error-reproduction
- Add sentry dsn strings to the 3 configs
- Install, build and start using
pnpm install && pnpm run build && pnpm run start
- Visit http://localhost:3000/
- Visit http://localhost:3000/error-in-page
Expected Result
Two errors should show up in sentry:
This is an error in a component
(thrown in component-with-error.tsx)This is a page level error
(thrown in error-in-page/page.tsx)
Actual Result
Only the error thrown right in the root page component shows up.
Metadata
Metadata
Assignees
Type
Projects
Status
Waiting for: Product Owner