getsentry / getsentry/sentry-javascript

Re-enable middleware exception assertions once Next.js 16.3 reports proxy errors via `onRequestError`

Open
#23,945 2 comments 0 reactions 1 assignee Claimed by @chargome View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.