10000
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.
1 parent 6b21d76 commit 838fc58Copy full SHA for 838fc58
packages/vue/src/router.ts
@@ -61,7 +61,7 @@ export function vueRouterInstrumentation(router: VueRouter): VueRouterInstrument
61
62
if (startTransactionOnLocationChange && !isPageLoadNavigation) {
63
startTransaction({
64
- name: to.name || to.matched[0].path || to.path,
+ name: to.name || (to.matched[0] && to.matched[0].path) || to.path,
65
op: 'navigation',
66
tags,
67
data,
0 commit comments