Skip to content

Commit

Permalink
docs: remove the canary note on instrumentation (#71649)
Browse files Browse the repository at this point in the history
The note of `onRequestError` API is outdated, it's available on v15
stable now

Fixes #71634
  • Loading branch information
huozhi authored Oct 22, 2024
1 parent a8445ed commit e06cd47
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ export function register() {

### `onRequestError` (optional)

> This API is available in Next.js canary.
You can optionally export an `onRequestError` function to track **server** errors to any custom observability provider.

- 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.
Expand Down

0 comments on commit e06cd47

Please sign in to comment.