Skip to content

Commit 0f47fbb

Browse files
committed
ref(sveltekit): Import the tunnel handler from @sentry/core/server
1 parent f1d6e45 commit 0f47fbb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • packages/sveltekit/src/server-common

‎packages/sveltekit/src/server-common/handle.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
getDefaultIsolationScope,
88
getIsolationScope,
99
getTraceMetaTags,
10-
handleTunnelRequestIfMatched,
1110
hasSpanStreamingEnabled,
1211
httpHeadersToSpanAttributes,
1312
HTTP_SPAN_NAME_FALLBACK,
@@ -20,7 +19,7 @@ import {
2019
withIsolationScope,
2120
filterCollectedUrl,
2221
} from '@sentry/core';
23-
import { flushIfServerless } from '@sentry/core/server';
22+
import { flushIfServerless, handleTunnelRequestIfMatched } from '@sentry/core/server';
2423
import type { Handle, ResolveOptions } from '@sveltejs/kit';
2524
import { DEBUG_BUILD } from '../common/debug-build';
2625
import { getTracePropagationData, sendErrorToSentry } from './utils';

0 commit comments

Comments
 (0)