Commit 3757d9f9 authored by Mat's avatar Mat

récupère les messages d'erreurs dans la console

parent b201e237
......@@ -95,6 +95,7 @@ class ChatHub implements MessageComponentInterface
function onError(ConnectionInterface $conn, \Exception $e)
{
echo "Une erreur s'est produite\n";
echo $e->getMessage() . "\n";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment