diff options
Diffstat (limited to 'src/store/plugins')
-rw-r--r-- | src/store/plugins/WebSocketPlugin.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/store/plugins/WebSocketPlugin.js b/src/store/plugins/WebSocketPlugin.js index cf034f7a..1d420679 100644 --- a/src/store/plugins/WebSocketPlugin.js +++ b/src/store/plugins/WebSocketPlugin.js @@ -28,10 +28,6 @@ const WebSocketPlugin = store => { ws.onopen = () => { ws.send(JSON.stringify(data)); }; - ws.on('error', function(err) { - console.error('error!'); - console.error(err.code); - }); ws.onerror = event => { console.error(event); }; |