-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Labels
Package: nextjsIssues related to the Sentry Nextjs SDKIssues related to the Sentry Nextjs SDK
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
9.3.0
Framework Version
Next 14.2.24
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
- Build any Next.js < 15 project and the following warning is logged.
Expected Result
Since onRequestError
hook is only available on v15+, it should not show any warning when running Next.js <15.
Actual Result
Throws the following warning during build.
Metadata
Metadata
Assignees
Labels
Package: nextjsIssues related to the Sentry Nextjs SDKIssues related to the Sentry Nextjs SDK
Type
Projects
Status
Waiting for: Product Owner