Skip to content

Commit 677a21c

Browse files
authored
Merge pull request #34 from utopia-php/fix-recv-error
2 parents 83dbcde + 0bc8b4a commit 677a21c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ private function receive(): stdClass|array|int
407407
$sleepTime = 100;
408408

409409
do {
410-
$chunk = $this->client->recv();
410+
$chunk = @$this->client->recv();
411411

412412
if ($chunk === false || $chunk === '') {
413413
$attempts++;

0 commit comments

Comments
 (0)