Skip to content

Commit 46044e4

Browse files
committed
cleanup
1 parent 9815224 commit 46044e4

File tree

2 files changed

+1
-7
lines changed
  • dev-packages/browser-integration-tests/suites/tracing/request/fetch-standalone-span
  • packages/core/src/tracing

2 files changed

+1
-7
lines changed

dev-packages/browser-integration-tests/suites/tracing/request/fetch-standalone-span/init.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ Sentry.init({
1414
tracePropagationTargets: ['http://example.com'],
1515
tracesSampleRate: 1,
1616
autoSessionTracking: false,
17-
debug: true,
1817
});

packages/core/src/tracing/trace.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { ClientOptions, Scope, SentrySpanArguments, Span, SpanTimeInput, StartSpanOptions } from '@sentry/types';
2-
import { consoleSandbox, propagationContextFromHeaders } from '@sentry/utils';
2+
import { propagationContextFromHeaders } from '@sentry/utils';
33
import type { AsyncContextStrategy } from '../asyncContext/types';
44
import { getMainCarrier } from '../carrier';
55

@@ -138,14 +138,9 @@ export function startInactiveSpan(context: StartSpanOptions): Span {
138138
const scope = context.scope || getCurrentScope();
139139
const parentSpan = getParentSpan(scope);
140140

141-
consoleSandbox(() =>
142-
console.log(JSON.stringify({ parentSpan, onlyIfParent: context.onlyIfParent, spanContext }, null, 2)),
143-
);
144-
145141
const shouldSkipSpan = context.onlyIfParent && !parentSpan;
146142

147143
if (shouldSkipSpan) {
148-
consoleSandbox(() => console.log('ret nonrecording span'));
149144
return new SentryNonRecordingSpan();
150145
}
151146

0 commit comments

Comments
 (0)