File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -53,19 +53,19 @@ const _patchStartTransaction = (
5353 customSamplingContext ,
5454 ] ) ;
5555
56- const reactNativeTracing = getCurrentHub ( ) . getIntegration (
56+ const nativescriptTracing = getCurrentHub ( ) . getIntegration (
5757 NativescriptTracing
5858 ) ;
5959
60- if ( reactNativeTracing ) {
61- reactNativeTracing . onTransactionStart ( transaction ) ;
60+ if ( nativescriptTracing ) {
61+ nativescriptTracing . onTransactionStart ( transaction ) ;
6262
6363 // eslint-disable-next-line @typescript-eslint/unbound-method
6464 const originalFinish = transaction . finish ;
6565
6666 transaction . finish = ( endTimestamp : number | undefined ) => {
67- if ( reactNativeTracing ) {
68- reactNativeTracing . onTransactionFinish ( transaction ) ;
67+ if ( nativescriptTracing ) {
68+ nativescriptTracing . onTransactionFinish ( transaction ) ;
6969 }
7070
7171 return originalFinish . apply ( transaction , [ endTimestamp ] ) ;
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export class NativeFramesInstrumentation {
4545 doesExist : ( ) => boolean
4646 ) {
4747 logger . log (
48- '[ReactNativeTracing ] Native frames instrumentation initialized.'
48+ '[NativescriptTracing ] Native frames instrumentation initialized.'
4949 ) ;
5050
5151 addGlobalEventProcessor ( ( event ) => this . _processEvent ( event , doesExist ) ) ;
You can’t perform that action at this time.
0 commit comments