Skip to content

Commit

Permalink
fix received logger debug
Browse files Browse the repository at this point in the history
  • Loading branch information
PNixx committed Jan 22, 2024
1 parent b40aae0 commit 87a0d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClickhouseWorker.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function onStop(): void {
*/
public function received(Client $client, array $data): void {

$this->logger->debug('Received', $data);
$this->logger?->debug('Received', $data);
//New option when the table is sent in headers
//At the same time, it would be nice if the data format was correct, then you won’t have to decode and encode json.
//Because Clickhouse does not allow you to insert a number into the string column.
Expand Down

0 comments on commit 87a0d5f

Please sign in to comment.