From 4c844b821f737526c9f5d25fa301b7144396a2ef Mon Sep 17 00:00:00 2001 From: ryan-greenfieldlabs <164901479+ryan-greenfieldlabs@users.noreply.github.com> Date: Wed, 4 Sep 2024 14:13:05 -0400 Subject: [PATCH] Update trpc.mdx (#11216) --- .../javascript/common/configuration/integrations/trpc.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platforms/javascript/common/configuration/integrations/trpc.mdx b/docs/platforms/javascript/common/configuration/integrations/trpc.mdx index d188498d6f9f5..995e32c43cd4b 100644 --- a/docs/platforms/javascript/common/configuration/integrations/trpc.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/trpc.mdx @@ -32,7 +32,7 @@ This integration only works inside server environments (Node.js, Bun, Deno). _Import name: `Sentry.trpcMiddleware`_ -The Sentry tRPC middleware creates spans for your and improves error capturing for tRPC handlers. +The Sentry tRPC middleware creates spans for you and improves error capturing for tRPC handlers. The `trpcMiddleware` is not a traditional SDK integration in the sense that your are **not** supposed to add it to the `integrations` option. Instead, add it as a middleware to your tRPC router.