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
// Optionally, you can still fail the build by re-throwing the error
88
88
// throw error;
89
-
}
89
+
},
90
90
});
91
91
```
92
92
@@ -241,9 +241,12 @@ This option can be set to:
241
241
Learn more about tunneling in the <PlatformLinkto="/troubleshooting/#dealing-with-ad-blockers">troubleshooting section</PlatformLink>.
242
242
243
243
<Expandablelevel="warning"title="Using Next.js middleware on Turbopack">
244
-
If you're using Turbopack, client-side event recording will fail if your Next.js middleware intercepts the configured tunnel route. To fix this, set the route to a fixed string (like `/error-monitoring`) and add a negative matcher like `(?!error-monitoring)` in your middleware to exclude the tunnel route.
245
-
246
-
If you're not using Turbopack, Sentry will automatically skip the tunnel route in your middleware.
244
+
If you're using Turbopack, client-side event recording will fail if your
245
+
Next.js middleware intercepts the configured tunnel route. To fix this, set
246
+
the route to a fixed string (like `/error-monitoring`) and add a negative
247
+
matcher like `(?!error-monitoring)` in your middleware to exclude the tunnel
248
+
route. If you're not using Turbopack, Sentry will automatically skip the
249
+
tunnel route in your middleware.
247
250
</Expandable>
248
251
249
252
</SdkOption>
@@ -261,13 +264,26 @@ Disables automatic injection of the route manifest into the client bundle.
261
264
The route manifest is a build-time generated mapping of your Next.js App Router routes that enables Sentry to group transactions by parameterized route names (e.g., `/users/:id` instead of `/users/123`, `/users/456`, etc.).
262
265
263
266
**Disable this option if:**
267
+
264
268
- You want to minimize client bundle size
265
269
- You're experiencing build issues related to route scanning
266
270
- You prefer raw URLs in transaction names
267
271
- You're only using the Pages Router (this feature is only supported in the App Router)
Enables React component name tracking. When enabled, it annotates React components with data attributes that allow Sentry to track which components users interacted with in features like Session Replay and breadcrumbs.
0 commit comments