Remove unneeded catch
The second JsonException catch in not necessary, and can be removed.
This commit is contained in:
parent
71579903da
commit
7798571db9
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user