Remove unneeded catch

The second JsonException catch in not necessary, and can be removed.
This commit is contained in:
Bob van de Vijver 2015-01-21 02:12:05 +01:00
parent 71579903da
commit 7798571db9

View File

@ -41,8 +41,6 @@ class WampServer implements MessageComponentInterface, WsServerInterface {
$this->wampProtocol->onMessage($conn, $msg);
} catch (Exception $we) {
$conn->close(1007);
} catch (JsonException $je) {
$conn->close(1007);
}
}