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 b4aad49 commit ae27f33Copy full SHA for ae27f33
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