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
Copy file name to clipboardExpand all lines: docs/02-app/02-api-reference/02-file-conventions/instrumentation.mdx
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -35,8 +35,6 @@ export function register() {
35
35
36
36
### `onRequestError` (optional)
37
37
38
-
> This API is available in Next.js canary.
39
-
40
38
You can optionally export an `onRequestError` function to track **server** errors to any custom observability provider.
41
39
42
40
- If you're running any async tasks in `onRequestError`, make sure they're awaited. `onRequestError` will be triggered when the Next.js server captures the error.
0 commit comments