Skip to content

Commit 28e0d1a

Browse files
committed
Mark this new span as active
1 parent 2f9eb59 commit 28e0d1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/payment/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ async function chargeServiceHandler(call, callback) {
1616
if (!span)
1717
{
1818
span = tracer.startSpan('chargeServiceHandler');
19+
// Mark this new span as active
20+
tracer.setSpan(tracer.context.active(), span)
1921
startedSpan = true;
2022
}
2123

0 commit comments

Comments
 (0)