Skip to content

Commit a712cb4

Browse files
committed
rename
1 parent 06b9040 commit a712cb4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/replay/src/coreHandlers/handleNetworkBreadcrumbs.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export function handleNetworkBreadcrumb(
8181
_enrichXhrBreadcrumb(breadcrumb, hint, options);
8282

8383
// Create a replay performance entry from this breadcrumb
84-
const result = _makeReplayBreadcrumb('resource.xhr', breadcrumb, hint);
84+
const result = _makeNetworkReplayBreadcrumb('resource.xhr', breadcrumb, hint);
8585
addNetworkBreadcrumb(options.replay, result);
8686
}
8787

@@ -90,15 +90,15 @@ export function handleNetworkBreadcrumb(
9090
_enrichFetchBreadcrumb(breadcrumb, hint, options);
9191

9292
// Create a replay performance entry from this breadcrumb
93-
const result = _makeReplayBreadcrumb('resource.fetch', breadcrumb, hint);
93+
const result = _makeNetworkReplayBreadcrumb('resource.fetch', breadcrumb, hint);
9494
addNetworkBreadcrumb(options.replay, result);
9595
}
9696
} catch (e) {
9797
__DEBUG_BUILD__ && logger.warn('Error when enriching network breadcrumb');
9898
}
9999
}
100100

101-
function _makeReplayBreadcrumb(
101+
function _makeNetworkReplayBreadcrumb(
102102
type: string,
103103
breadcrumb: Breadcrumb & { data: FetchBreadcrumbData | XhrBreadcrumbData },
104104
hint: FetchBreadcrumbHint | XhrBreadcrumbHint,

0 commit comments

Comments
 (0)