Skip to content

Commit

Permalink
remove unused directive
Browse files Browse the repository at this point in the history
  • Loading branch information
chargome committed Jan 10, 2025
1 parent 8e53415 commit 2d1cced
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,5 @@ async function captureErrorAndGetEnvelopeTraceHeader(page: Page): Promise<Partia

const [, errorEnvelopeTraceHeader] = (await errorEventPromise)[0];

// @ts-expect-error - EventEnvelopeHeaders type in (types/envelope.ts) suggests that trace_id is optional,
// which the DynamicSamplingContext type does not permit.
// TODO(v9): We should adjust the EventEnvelopeHeaders type because the trace header always needs to have a trace_id
return errorEnvelopeTraceHeader;
}

0 comments on commit 2d1cced

Please # to comment.