summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/react/stores/socket_store.jsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/web/react/stores/socket_store.jsx b/web/react/stores/socket_store.jsx
index 744c2c8e5..8f24f02a6 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;