Skip to content

Errors in child server components aren't tracked #12525

Closed
@qnten

Description

@qnten

Is there an existing issue for this?

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

  1. Clone https://github.com/qnten/sentry-next-server-component-error-reproduction
  2. Add sentry dsn strings to the 3 configs
  3. Install, build and start using pnpm install && pnpm run build && pnpm run start
  4. Visit http://localhost:3000/
  5. Visit http://localhost:3000/error-in-page

Expected Result

Two errors should show up in sentry:

Actual Result

Only the error thrown right in the root page component shows up.

Metadata

Metadata

Assignees

Labels

Package: nextjsIssues related to the Sentry Nextjs SDK

Type

Projects

Status

Waiting for: Product Owner

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions