Unverified Commit e06cd474 authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

docs: remove the canary note on instrumentation (#71649)

The note of `onRequestError` API is outdated, it's available on v15
stable now

Fixes #71634
parent a8445ed4
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment