Skip to content

Commit

Permalink
Do not replace existing tags in NetteSessionIntegration (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Creeperface01 authored Sep 11, 2023
1 parent 2df2ab7 commit 06a4eba
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Integration/NetteSessionIntegration.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ public function setup(HubInterface $hub, Event $event, EventHint $hint): ?Event
);

if (PHP_SAPI !== 'cli') {
$event->setTags([
$session->getName() => $session->getId(),
]);
$event->setTag($session->getName(), $session->getId());
}

return $event;
Expand Down

0 comments on commit 06a4eba

Please sign in to comment.