@@ -81,7 +81,7 @@ export function handleNetworkBreadcrumb(
81
81
_enrichXhrBreadcrumb ( breadcrumb , hint , options ) ;
82
82
83
83
// Create a replay performance entry from this breadcrumb
84
- const result = _makeReplayBreadcrumb ( 'resource.xhr' , breadcrumb , hint ) ;
84
+ const result = _makeNetworkReplayBreadcrumb ( 'resource.xhr' , breadcrumb , hint ) ;
85
85
addNetworkBreadcrumb ( options . replay , result ) ;
86
86
}
87
87
@@ -90,15 +90,15 @@ export function handleNetworkBreadcrumb(
90
90
_enrichFetchBreadcrumb ( breadcrumb , hint , options ) ;
91
91
92
92
// Create a replay performance entry from this breadcrumb
93
- const result = _makeReplayBreadcrumb ( 'resource.fetch' , breadcrumb , hint ) ;
93
+ const result = _makeNetworkReplayBreadcrumb ( 'resource.fetch' , breadcrumb , hint ) ;
94
94
addNetworkBreadcrumb ( options . replay , result ) ;
95
95
}
96
96
} catch ( e ) {
97
97
__DEBUG_BUILD__ && logger . warn ( 'Error when enriching network breadcrumb' ) ;
98
98
}
99
99
}
100
100
101
- function _makeReplayBreadcrumb (
101
+ function _makeNetworkReplayBreadcrumb (
102
102
type : string ,
103
103
breadcrumb : Breadcrumb & { data : FetchBreadcrumbData | XhrBreadcrumbData } ,
104
104
hint : FetchBreadcrumbHint | XhrBreadcrumbHint ,
0 commit comments