Skip to content

Commit

Permalink
feat: remove log from fetch instrumentation handler
Browse files Browse the repository at this point in the history
  • Loading branch information
chargome committed Jul 24, 2024
1 parent ddae213 commit d84c902
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/utils/src/instrument/fetch.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import type { HandlerDataFetch } from '@sentry/types';

import { DEBUG_BUILD } from '../debug-build';
import { isError } from '../is';
import { logger } from '../logger';
import { addNonEnumerableProperty, fill } from '../object';
import { supportsNativeFetch } from '../supports';
import { timestampInSeconds } from '../time';
Expand Down Expand Up @@ -82,7 +80,6 @@ function instrumentFetch(handlerType: 'fetch' | 'fetch-body-resolved'): void {
clonedResponseForResolving = response.clone();
} catch (e) {
// noop
DEBUG_BUILD && logger.warn('Failed to clone response body.');
}

await resolveResponse(clonedResponseForResolving, () => {
Expand Down

0 comments on commit d84c902

Please sign in to comment.