From f2bd9830297f99ff7db0517f68f89a723f14a53d Mon Sep 17 00:00:00 2001 From: Christopher Chedeau Date: Wed, 7 Oct 2015 10:47:58 -0700 Subject: [PATCH] Remove useless warning Reviewed By: @frantic Differential Revision: D2515006 fb-gh-sync-id: f411a4c2ccf73bb12bcd1caa7d0272a9de06509a --- packager/webSocketProxy.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packager/webSocketProxy.js b/packager/webSocketProxy.js index 0c7d36c20..4f88379b4 100644 --- a/packager/webSocketProxy.js +++ b/packager/webSocketProxy.js @@ -49,10 +49,9 @@ function attachToServer(server, path) { ws.on('message', function(message) { allClientsExcept(ws).forEach(function(cn) { try { - // Sometimes this call throws 'not opened' cn.send(message); } catch(e) { - console.warn('WARN: ' + e.message); + // Sometimes this call throws 'not opened' } }); });