Skip to content

Commit 5de55ca

Browse files
committed
rename type (trace origin)
1 parent acb82e4 commit 5de55ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/trpc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface SentryTrpcMiddlewareArguments<T> {
1919
getRawInput?: () => Promise<unknown>;
2020
}
2121

22-
const trpcCaptureContext = { mechanism: { handled: false, type: 'trpc', data: { function: 'trpcMiddleware' } } };
22+
const trpcCaptureContext = { mechanism: { handled: false, type: 'auto.rpc.trpc.middleware' } };
2323

2424
function captureIfError(nextResult: unknown): void {
2525
// TODO: Set span status based on what TRPCError was encountered

0 commit comments

Comments
 (0)