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 = (
53
53
customSamplingContext ,
54
54
] ) ;
55
55
56
- const reactNativeTracing = getCurrentHub ( ) . getIntegration (
56
+ const nativescriptTracing = getCurrentHub ( ) . getIntegration (
57
57
NativescriptTracing
58
58
) ;
59
59
60
- if ( reactNativeTracing ) {
61
- reactNativeTracing . onTransactionStart ( transaction ) ;
60
+ if ( nativescriptTracing ) {
61
+ nativescriptTracing . onTransactionStart ( transaction ) ;
62
62
63
63
// eslint-disable-next-line @typescript-eslint/unbound-method
64
64
const originalFinish = transaction . finish ;
65
65
66
66
transaction . finish = ( endTimestamp : number | undefined ) => {
67
- if ( reactNativeTracing ) {
68
- reactNativeTracing . onTransactionFinish ( transaction ) ;
67
+ if ( nativescriptTracing ) {
68
+ nativescriptTracing . onTransactionFinish ( transaction ) ;
69
69
}
70
70
71
71
return originalFinish . apply ( transaction , [ endTimestamp ] ) ;
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export class NativeFramesInstrumentation {
45
45
doesExist : ( ) => boolean
46
46
) {
47
47
logger . log (
48
- '[ReactNativeTracing ] Native frames instrumentation initialized.'
48
+ '[NativescriptTracing ] Native frames instrumentation initialized.'
49
49
) ;
50
50
51
51
addGlobalEventProcessor ( ( event ) => this . _processEvent ( event , doesExist ) ) ;
You can’t perform that action at this time.
0 commit comments