Skip to content

Commit ee60f71

Browse files
author
Luca Forstner
authored
fix(node): Correct typo in trpc integration transaciton name (#7871)
1 parent 7b482bb commit ee60f71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/node/src/handlers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ export function trpcMiddleware(options: SentryTrpcMiddlewareOptions = {}) {
342342
const sentryTransaction = hub.getScope()?.getTransaction();
343343

344344
if (sentryTransaction) {
345-
sentryTransaction.setName(`trcp/${path}`, 'route');
345+
sentryTransaction.setName(`trpc/${path}`, 'route');
346346
sentryTransaction.op = 'rpc.server';
347347

348348
const trpcContext: Record<string, unknown> = {

0 commit comments

Comments
 (0)