From e06cd47449c2b358a013ec2a322c7ad9512dfb3a Mon Sep 17 00:00:00 2001 From: Jiachi Liu Date: Tue, 22 Oct 2024 21:11:15 +0200 Subject: [PATCH] docs: remove the canary note on instrumentation (#71649) The note of `onRequestError` API is outdated, it's available on v15 stable now Fixes #71634 --- .../02-api-reference/02-file-conventions/instrumentation.mdx | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/02-app/02-api-reference/02-file-conventions/instrumentation.mdx b/docs/02-app/02-api-reference/02-file-conventions/instrumentation.mdx index 73a5659152f6a..a867354eed950 100644 --- a/docs/02-app/02-api-reference/02-file-conventions/instrumentation.mdx +++ b/docs/02-app/02-api-reference/02-file-conventions/instrumentation.mdx @@ -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.