Skip to content

Commit

Permalink
Add trpc path to context in trpcMiddleware
Browse files Browse the repository at this point in the history
  • Loading branch information
phuctm97 authored Nov 10, 2024
1 parent a91a5ba commit d2af0e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/trpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export function trpcMiddleware(options: SentryTrpcMiddlewareOptions = {}) {
const clientOptions = client && client.getOptions();

const trpcContext: Record<string, unknown> = {
procedure_path: path,
procedure_type: type,
};

Expand Down

0 comments on commit d2af0e1

Please sign in to comment.