From 1b0510ed8c31430b72f9302c0ea077bab8ae5c33 Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Mon, 5 Aug 2024 14:47:02 +0200 Subject: [PATCH] cleanup --- packages/sveltekit/src/server/handle.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/packages/sveltekit/src/server/handle.ts b/packages/sveltekit/src/server/handle.ts index 53dd8f0b3d65..3ecf2d168c58 100644 --- a/packages/sveltekit/src/server/handle.ts +++ b/packages/sveltekit/src/server/handle.ts @@ -5,24 +5,15 @@ import { getCurrentScope, getDefaultIsolationScope, getIsolationScope, - getRootSpan, setHttpStatus, - spanToTraceHeader, withIsolationScope, } from '@sentry/core'; import { startSpan } from '@sentry/core'; import { captureException, continueTrace, getTraceMetaTags } from '@sentry/node'; import type { Span } from '@sentry/types'; -import { - dynamicSamplingContextToSentryBaggageHeader, - logger, - objectify, - winterCGRequestToRequestData, -} from '@sentry/utils'; +import { logger, objectify, winterCGRequestToRequestData } from '@sentry/utils'; import type { Handle, ResolveOptions } from '@sveltejs/kit'; -import { getDynamicSamplingContextFromSpan } from '@sentry/opentelemetry'; - import { DEBUG_BUILD } from '../common/debug-build'; import { isHttpError, isRedirect } from '../common/utils'; import { flushIfServerless, getTracePropagationData } from './utils';