Skip to content

Commit

Permalink
Small adjustment for logs./
Browse files Browse the repository at this point in the history
  • Loading branch information
lotharthesavior committed Jan 22, 2024
1 parent 201d226 commit b357e23
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Services/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,11 @@ public function handleWsMessage(MessageReceivedEvent $event): void
Storage::put($this->executionHolder, $event->server->getWorkerId());
}

$this->logger->info($this->logPrefix . ' Message received from ' . $parsedData?->fd);
if (null === $parsedData) {
return;
}

$this->logger->info($this->logPrefix . ' Message received from ' . $parsedData->fd);
}

public function sslRedirectRequest(Request $request, Response $response): void
Expand Down

0 comments on commit b357e23

Please sign in to comment.