We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cf1e57 commit 7942845Copy full SHA for 7942845
src/Communication/Socket/Socket.php
@@ -53,13 +53,6 @@ public function receiveMessages(): Generator
53
{
54
foreach ($this->receiveRaw() as $data) {
55
yield unserialize($data);
56
- $error = error_get_last();
57
- if ($error && str_starts_with($error["message"], "unserialize(): Error at offset")) {
58
- fwrite(STDERR, getmypid() . ": Unserialize error: " . $error["message"] . PHP_EOL);
59
- fwrite(STDERR, getmypid() . ": Unserialize length: " . strlen($data) . PHP_EOL);
60
- fwrite(STDERR, getmypid() . ": Unserialize data: " . $data . PHP_EOL);
61
- error_clear_last();
62
- }
63
}
64
65
0 commit comments