getsentry / getsentry/sentry-javascript
Re-enable middleware exception assertions once Next.js 16.3 reports proxy errors via `onRequestError`
Open
Next.js
Tests
- Dominant language
- TypeScript
- Stars
- 8.7k
- Forks
- 1.8k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 515
Description
`nextjs-16/tests/middleware.test.ts` carries a `TODO: proxy errors currently not reported via onRequestError` with the exception assertions commented out. This should be fixed in Next.js 16.3 — re-enable them once we're on it.
Raised in review of getsentry/sentry-javascript#23924.
Contributor guide
Assessment
This issue has not been assessed yet.