Skip to content

Commit 1dc6e72

Browse files
logaretmCopilot
andauthored
Update packages/node-core/src/integrations/http/SentryHttpInstrumentation.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 4d64142 commit 1dc6e72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ function _getOutgoingRequestSpanData(request: http.ClientRequest): [string, Span
459459
function _getOutgoingRequestEndedSpanData(response: http.IncomingMessage): SpanAttributes {
460460
const { statusCode, statusMessage, httpVersion, socket } = response;
461461

462-
// httpVersion can be undefined in some cases and we seem to hav encountered this before:
462+
// httpVersion can be undefined in some cases and we seem to have encountered this before:
463463
// https://github.com/getsentry/sentry-javascript/blob/ec8c8c64cde6001123db0199a8ca017b8863eac8/packages/node-core/src/integrations/http/httpServerSpansIntegration.ts#L158
464464
// see: #20415
465465
const transport = httpVersion?.toUpperCase() !== 'QUIC' ? 'ip_tcp' : 'ip_udp';

0 commit comments

Comments
 (0)