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(
109109 return ;
110110 }
111111
112- if (
113- url &&
114- browserTracingOptions . startTransactionOnPageLoad !== false &&
115- browserTracingOptions . instrumentPageLoad !== false
116- ) {
112+ if ( url && browserTracingOptions . instrumentPageLoad !== false ) {
117113 const routeInfo = routerService . recognize ( url ) ;
118114 Sentry . startBrowserTracingPageLoadSpan ( client , {
119115 name : `route:${ routeInfo . name } ` ,
@@ -136,10 +132,7 @@ export function _instrumentEmberRouter(
136132 getBackburner ( ) . off ( 'end' , finishActiveTransaction ) ;
137133 } ;
138134
139- if (
140- browserTracingOptions . startTransactionOnLocationChange === false &&
141- browserTracingOptions . instrumentNavigation === false
142- ) {
135+ if ( browserTracingOptions . instrumentNavigation === false ) {
143136 return ;
144137 }
145138
You can’t perform that action at this time.
0 commit comments