Skip to content

Commit

Permalink
Update trpc.mdx (#11216)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-greenfieldlabs committed Sep 4, 2024
1 parent b67476f commit 4c844b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4c844b8

Please sign in to comment.