Skip to content

Commit d2af0e1

Browse files
authored
Add trpc path to context in trpcMiddleware
Resolves #14158
1 parent a91a5ba commit d2af0e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/trpc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export function trpcMiddleware(options: SentryTrpcMiddlewareOptions = {}) {
4848
const clientOptions = client && client.getOptions();
4949

5050
const trpcContext: Record<string, unknown> = {
51+
procedure_path: path,
5152
procedure_type: type,
5253
};
5354

0 commit comments

Comments
 (0)