Skip to content

Commit

Permalink
more debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed Sep 18, 2024
1 parent 68ca4e2 commit e394beb
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ describe('errors in Tracing without Performance mode', () => {
test('error has the same traceId as obtained via getTraceData()/getTraceMetaTags()', async () => {
const runner = createRunner(__dirname, 'server.js').start();

console.log('1', runner.getLogs());

const response = await runner.makeRequest('get', '/test');

console.log('2', runner.getLogs());

console.log('yy res', response);

const { traceData, traceMetaTags, errorTraceContext } = response as {
Expand All @@ -21,6 +25,8 @@ describe('errors in Tracing without Performance mode', () => {
};
};

console.log('3', runner.getLogs());

const traceId = errorTraceContext?.trace_id;
const spanId = errorTraceContext?.span_id;

Expand Down

0 comments on commit e394beb

Please sign in to comment.