You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Next.js 15 added onRequestError which allows for deeper instrumentation for errors.
If people upgrade there is nothing telling them to add export const onRequestError = Sentry.captureRequestError; as per our setup guide and wizard: However, it would be very important to do so.
We should add a warning when Next.js builds or in dev mode when onRequestError is missing so that people add it. Only when we are on Next.js >= 15 though
The text was updated successfully, but these errors were encountered:
Description
Next.js 15 added
onRequestError
which allows for deeper instrumentation for errors.If people upgrade there is nothing telling them to add
export const onRequestError = Sentry.captureRequestError;
as per our setup guide and wizard: However, it would be very important to do so.We should add a warning when Next.js builds or in dev mode when onRequestError is missing so that people add it. Only when we are on Next.js >= 15 though
The text was updated successfully, but these errors were encountered: