From f1bf70624288bd192b9523764f239eee2a022304 Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Wed, 3 Feb 2016 15:07:03 -0800 Subject: [PATCH] PLT-1851 reconnect and get missing messages --- web/react/stores/socket_store.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/react/stores/socket_store.jsx b/web/react/stores/socket_store.jsx index 744c2c8e56..8f24f02a6b 100644 --- a/web/react/stores/socket_store.jsx +++ b/web/react/stores/socket_store.jsx @@ -64,6 +64,8 @@ class SocketStoreClass extends EventEmitter { ErrorStore.storeLastError(null); ErrorStore.emitChange(); } + + AsyncClient.getChannels(); } this.failCount = 0; @@ -81,7 +83,8 @@ class SocketStoreClass extends EventEmitter { conn.onerror = (evt) => { if (this.failCount === 0) { - console.log('websocket error ' + evt); //eslint-disable-line no-console + console.log('websocket error'); //eslint-disable-line no-console + console.log(evt); //eslint-disable-line no-console } this.failCount = this.failCount + 1;