Skip to content

Commit

Permalink
fix segment creation on kernel response
Browse files Browse the repository at this point in the history
  • Loading branch information
ilvalerione committed Dec 9, 2024
1 parent 0d55c74 commit 11e4aa3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DependencyInjection/InspectorExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class InspectorExtension extends Extension
/**
* Current version of the bundle.
*/
const VERSION = '1.3.3';
const VERSION = '1.3.4';

/**
* Loads a specific configuration.
Expand Down
2 changes: 1 addition & 1 deletion src/Listeners/KernelEventsSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public function setAuthUserInfo(RequestEvent $event): void
*/
public function onKernelResponse(ResponseEvent $event): void
{
if (!$this->inspector->canAddSegments() && $this->isMasterMainRequest($event)) {
if (!$this->inspector->canAddSegments() && !$this->isMasterMainRequest($event)) {
return;
}

Expand Down

0 comments on commit 11e4aa3

Please sign in to comment.