Skip to content

Next.js package does not report server and some client errors #3869

@jsakas

Description

@jsakas

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 is deployed to Vercel. You can find my source code here: https://github.com/jsakas/sentry-next-test

I have three routes:

Only 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.

Here is the test project: https://sentry.io/organizations/guesthouse/issues/?project=5893235

Metadata

Metadata

Assignees

Labels

Package: nextjsIssues related to the Sentry Nextjs SDK

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions