Skip to content

Commit c29a184

Browse files
committed
small fixes
1 parent dc3df37 commit c29a184

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

packages/astro/src/server/sdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { applySdkMetadata } from '@sentry/core';
2-
import type { Event,NodeClient, NodeOptions } from '@sentry/node';
2+
import type { Event, NodeClient, NodeOptions } from '@sentry/node';
33
import { init as initNodeSdk } from '@sentry/node';
44

55
/**

packages/node-core/src/integrations/http/httpServerIntegration.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
/* eslint-disable max-lines */
22
import type { ChannelListener } from 'node:diagnostics_channel';
33
import { subscribe } from 'node:diagnostics_channel';
4-
import type { RequestOptions, Server } from 'node:http';
4+
import type { EventEmitter } from 'node:events';
5+
import type { IncomingMessage, RequestOptions, Server, ServerResponse } from 'node:http';
6+
import type { Socket } from 'node:net';
57
import { context, createContextKey, propagation } from '@opentelemetry/api';
68
import type { AggregationCounts, Client, Integration, IntegrationFn, RequestEventData, Scope } from '@sentry/core';
79
import {
@@ -14,9 +16,6 @@ import {
1416
stripUrlQueryAndFragment,
1517
withIsolationScope,
1618
} from '@sentry/core';
17-
import type EventEmitter from 'events';
18-
import type { IncomingMessage, ServerResponse } from 'http';
19-
import type { Socket } from 'net';
2019
import { DEBUG_BUILD } from '../../debug-build';
2120
import type { NodeClient } from '../../sdk/client';
2221
import { INSTRUMENTATION_NAME, MAX_BODY_BYTE_LENGTH } from './constants';

0 commit comments

Comments
 (0)