Skip to content

Commit 4a25c19

Browse files
committed
ref(core)!: Remove supportsNativeFetch export
1 parent 365491f commit 4a25c19

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

packages/browser/src/integrations/httpclient.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
getClient,
1111
GLOBAL_OBJ,
1212
isSentryRequestUrl,
13-
supportsNativeFetch,
1413
} from '@sentry/core/browser';
1514
import { addXhrInstrumentationHandler, SENTRY_XHR_DATA_KEY } from '@sentry/browser-utils';
1615
import { DEBUG_BUILD } from '../debug-build';
@@ -281,10 +280,6 @@ function _isInGivenStatusRanges(
281280
* Wraps `fetch` function to capture request and response data
282281
*/
283282
function _wrapFetch(client: Client, options: HttpClientOptions): void {
284-
if (!supportsNativeFetch()) {
285-
return;
286-
}
287-
288283
addFetchInstrumentationHandler(handlerData => {
289284
if (getClient() !== client) {
290285
return;

0 commit comments

Comments
 (0)