Skip to content

Commit 95b3d2d

Browse files
committed
fix: Dont require transaction to be on the scope to be delivered correctly
1 parent ef7b3b2 commit 95b3d2d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/apm/src/span.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,9 @@ export class Span implements SpanInterface, SpanContext {
287287
}
288288

289289
return this._hub.captureEvent({
290+
contexts: {
291+
trace: this.getTraceContext(),
292+
},
290293
spans: finishedSpans,
291294
start_timestamp: this.startTimestamp,
292295
tags: this.tags,

0 commit comments

Comments
 (0)