mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 14:13:26 +00:00
Remove useless warning
Reviewed By: @frantic Differential Revision: D2515006 fb-gh-sync-id: f411a4c2ccf73bb12bcd1caa7d0272a9de06509a
This commit is contained in:
parent
c819c5590b
commit
f2bd983029
@ -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'
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user