Remove useless warning

Reviewed By: @frantic

Differential Revision: D2515006

fb-gh-sync-id: f411a4c2ccf73bb12bcd1caa7d0272a9de06509a
This commit is contained in:
Christopher Chedeau 2015-10-07 10:47:58 -07:00 committed by facebook-github-bot-8
parent c819c5590b
commit f2bd983029

View File

@ -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'
}
});
});