Skip to content

Commit

Permalink
Remove useless warning
Browse files Browse the repository at this point in the history
Reviewed By: @frantic

Differential Revision: D2515006

fb-gh-sync-id: f411a4c2ccf73bb12bcd1caa7d0272a9de06509a
  • Loading branch information
vjeux authored and facebook-github-bot-8 committed Oct 7, 2015
1 parent c819c55 commit f2bd983
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packager/webSocketProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
});
});
Expand Down

0 comments on commit f2bd983

Please sign in to comment.