Merge pull request #275 from bobvandevijver/patch-2
Remove unneeded catch
This commit is contained in:
commit
21fbef1773
@ -41,8 +41,6 @@ class WampServer implements MessageComponentInterface, WsServerInterface {
|
|||||||
$this->wampProtocol->onMessage($conn, $msg);
|
$this->wampProtocol->onMessage($conn, $msg);
|
||||||
} catch (Exception $we) {
|
} catch (Exception $we) {
|
||||||
$conn->close(1007);
|
$conn->close(1007);
|
||||||
} catch (JsonException $je) {
|
|
||||||
$conn->close(1007);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user