From 26bd13fac44a6403b748dd6f93198f51fee55208 Mon Sep 17 00:00:00 2001 From: Brendan Irvine-Broque Date: Mon, 23 Sep 2024 05:37:03 +0100 Subject: [PATCH] Link to Sentry docs from Pages Functions Sentry middleware (#17005) For many this is a better path. --- src/content/docs/pages/functions/plugins/sentry.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/content/docs/pages/functions/plugins/sentry.mdx b/src/content/docs/pages/functions/plugins/sentry.mdx index 8d530d87e43190..deb70780fb34bb 100644 --- a/src/content/docs/pages/functions/plugins/sentry.mdx +++ b/src/content/docs/pages/functions/plugins/sentry.mdx @@ -5,6 +5,12 @@ sidebar: order: 1 --- +:::note + +Sentry now provides official support for Cloudflare Workers and Pages. Refer to the [Sentry documentation](https://docs.sentry.io/platforms/javascript/guides/cloudflare/) for more details. + +::: + The Sentry Pages Plugin captures and logs all exceptions which occur below it in the execution chain of your Pages Functions. It is therefore recommended that you install this Plugin at the root of your application in `functions/_middleware.ts` as the very first Plugin. ## Installation