Skip to content

Commit a4b7c82

Browse files
committed
Check whether stack is non-empty before popping (exception and other listeners can stop event propagation)
1 parent 56da6e2 commit a4b7c82

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Bridge/RequestSpanListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ public function onRequest(GetResponseEvent $event)
9393
->addTag(new LongTag('time.micro', $startTime))
9494
->start($startTime);
9595
}
96-
9796
$this->spans->push($requestSpan);
9897

9998
return $this;

0 commit comments

Comments
 (0)