Skip to content

Commit 3750e68

Browse files
committed
log this out
1 parent aa70d31 commit 3750e68

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/node/src/integrations/undici/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ export class Undici implements Integration {
167167
return decision;
168168
};
169169

170+
// eslint-disable-next-line no-console
171+
console.log(stringUrl, shouldAttachTraceData(stringUrl), span);
170172
if (shouldAttachTraceData(stringUrl)) {
171173
if (span) {
172174
const dynamicSamplingContext = span?.transaction?.getDynamicSamplingContext();

packages/node/test/integrations/undici.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ function setupTestServer() {
373373
res.end();
374374

375375
// also terminate socket because keepalive hangs connection a bit
376-
res.connection.end();
376+
res.connection?.end();
377377
});
378378

379379
testServer?.listen(18099, 'localhost');

0 commit comments

Comments
 (0)