We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mechanism.type
trpcMiddleware
1 parent 8f4d56f commit acb82e4Copy full SHA for acb82e4
packages/core/src/trpc.ts
@@ -19,7 +19,7 @@ export interface SentryTrpcMiddlewareArguments<T> {
19
getRawInput?: () => Promise<unknown>;
20
}
21
22
-const trpcCaptureContext = { mechanism: { handled: false, data: { function: 'trpcMiddleware' } } };
+const trpcCaptureContext = { mechanism: { handled: false, type: 'trpc', data: { function: 'trpcMiddleware' } } };
23
24
function captureIfError(nextResult: unknown): void {
25
// TODO: Set span status based on what TRPCError was encountered
0 commit comments