We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fd0cfe commit 65456fbCopy full SHA for 65456fb
src/Bridge/MainSpanNameListener.php
@@ -25,8 +25,11 @@ public static function getSubscribedEvents(): array
25
];
26
}
27
28
- public function onRequest(Request $request): MainSpanNameListener
+ public function onRequest(KernelEvent $event): MainSpanNameListener
29
{
30
+ if (false === $this->isMainRequestEvent($event)) {
31
+ return $this;
32
+ }
33
$this->handler->name();
34
35
return $this;
0 commit comments