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
10.3.0
Framework Version
Next 15.3.0
Link to Sentry event
No response
Reproduction Example/SDK Setup
https://github.com/jsardev/sentry-nextjs-infinite-loop
- Enter test
dsn values
- Run the app via
pnpm dev
- Visit
/ route
Steps to Reproduce
This issue occurs whenever you're on dev mode and run Sentry.captureException() within a Next.js layout.tsx
Expected Result
No infinite loop
Actual Result
Infinite GET /__nextjs_original-stack-frame requests