Skip to content

Commit 7634c6c

Browse files
committed
Merge branch '2.0.x' into 1.0.x
2 parents 36bc3c1 + 4697b75 commit 7634c6c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Bridge/BackgroundSpanHandler.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ public function start(Request $request)
3838

3939
public function finish()
4040
{
41+
if (null === $this->span) {
42+
return $this;
43+
}
44+
$this->tracer->finish($this->span);
4145

46+
return $this;
4247
}
4348
}

0 commit comments

Comments
 (0)