[VarDumper] DumpServer: log whenever a payload is received
This commit is contained in:
parent
7c90c8ba84
commit
7cfc3ced9d
|
@ -52,6 +52,10 @@ class DumpServer
|
|||
}
|
||||
|
||||
foreach ($this->getMessages() as $clientId => $message) {
|
||||
if ($this->logger) {
|
||||
$this->logger->info('Received a payload from client {clientId}', ['clientId' => $clientId]);
|
||||
}
|
||||
|
||||
$payload = @unserialize(base64_decode($message), ['allowed_classes' => [Data::class, Stub::class]]);
|
||||
|
||||
// Impossible to decode the message, give up.
|
||||
|
|
Reference in New Issue