fix span reporting null check (#1442)
## Type of change - [x] 🐛 Bugfix ## Test Plan - [x] 💪 Manual
This commit is contained in:
parent
23fa402965
commit
dc8560231c
@ -153,7 +153,7 @@ func Span(ctx context.Context, name string, ext ...extender) (_ctx context.Conte
|
|||||||
_fn = func() {
|
_fn = func() {
|
||||||
rgn.End()
|
rgn.End()
|
||||||
|
|
||||||
if span != nil {
|
if span == nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user