Skip to content

Commit bbbca89

Browse files
committed
simplify solid router
1 parent 2232458 commit bbbca89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/solid/src/solidrouter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function withSentryRouterRoot(Root: Component<RouteSectionProps>): Component<Rou
8989
// everything else was already instrumented correctly in `useBeforeLeave`
9090
if (op === 'navigation' && description === '-1') {
9191
rootSpan.updateName(name);
92-
rootSpan.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, data && data[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]);
92+
rootSpan.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, 'url');
9393
}
9494
}
9595
});

0 commit comments

Comments
 (0)