File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
packages/ember/addon/instance-initializers Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -109,11 +109,7 @@ export function _instrumentEmberRouter(
109
109
return ;
110
110
}
111
111
112
- if (
113
- url &&
114
- browserTracingOptions . startTransactionOnPageLoad !== false &&
115
- browserTracingOptions . instrumentPageLoad !== false
116
- ) {
112
+ if ( url && browserTracingOptions . instrumentPageLoad !== false ) {
117
113
const routeInfo = routerService . recognize ( url ) ;
118
114
Sentry . startBrowserTracingPageLoadSpan ( client , {
119
115
name : `route:${ routeInfo . name } ` ,
@@ -136,10 +132,7 @@ export function _instrumentEmberRouter(
136
132
getBackburner ( ) . off ( 'end' , finishActiveTransaction ) ;
137
133
} ;
138
134
139
- if (
140
- browserTracingOptions . startTransactionOnLocationChange === false &&
141
- browserTracingOptions . instrumentNavigation === false
142
- ) {
135
+ if ( browserTracingOptions . instrumentNavigation === false ) {
143
136
return ;
144
137
}
145
138
You can’t perform that action at this time.
0 commit comments