We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa70d31 commit 3750e68Copy full SHA for 3750e68
packages/node/src/integrations/undici/index.ts
@@ -167,6 +167,8 @@ export class Undici implements Integration {
167
return decision;
168
};
169
170
+ // eslint-disable-next-line no-console
171
+ console.log(stringUrl, shouldAttachTraceData(stringUrl), span);
172
if (shouldAttachTraceData(stringUrl)) {
173
if (span) {
174
const dynamicSamplingContext = span?.transaction?.getDynamicSamplingContext();
packages/node/test/integrations/undici.test.ts
@@ -373,7 +373,7 @@ function setupTestServer() {
373
res.end();
374
375
// also terminate socket because keepalive hangs connection a bit
376
- res.connection.end();
+ res.connection?.end();
377
});
378
379
testServer?.listen(18099, 'localhost');
0 commit comments