Skip to content

Commit 61d28a0

Browse files
author
Luca Forstner
authored
Document trpc + normalizeDepth (#12687)
1 parent dfbbd4b commit 61d28a0

File tree

1 file changed

+8
-1
lines changed
  • docs/platforms/javascript/common/configuration/integrations

1 file changed

+8
-1
lines changed

docs/platforms/javascript/common/configuration/integrations/trpc.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,11 @@ const sentrifiedProcedure = t.procedure.use(sentryMiddleware);
5959

6060
_Type: `boolean`_
6161

62-
Defaults to `false`. If enabled, the RPC input will be captured in reported events.
62+
Defaults to `false`. If enabled, the RPC input will be captured in error events as `trpc` context.
63+
64+
<Alert level="info" title="Truncated Input">
65+
66+
If you observe nested objects in the `trpc` context being truncated with "`[Object]`", you can define a <PlatformLink to="/configuration/options/#normalizeDepth">`normalizeDepth` value</PlatformLink> to allow for more deeply nested objects in context.
67+
Note that the default depth for `trpc` context is 5.
68+
69+
</Alert>

0 commit comments

Comments
 (0)