From 7798571db96469c10b3de4e22f078d7293a8d72b Mon Sep 17 00:00:00 2001 From: Bob van de Vijver Date: Wed, 21 Jan 2015 02:12:05 +0100 Subject: [PATCH] Remove unneeded catch The second JsonException catch in not necessary, and can be removed. --- src/Ratchet/Wamp/WampServer.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Ratchet/Wamp/WampServer.php b/src/Ratchet/Wamp/WampServer.php index 8fb9e65..f0675a3 100644 --- a/src/Ratchet/Wamp/WampServer.php +++ b/src/Ratchet/Wamp/WampServer.php @@ -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); } }