Skip to content

Commit 5afd579

Browse files
committed
add some image logo & debug info for disconnect socket
1 parent 37c6813 commit 5afd579

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: static/alcor-200x200.png

27 KB
Loading

Diff for: store/index.js

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ export const actions = {
5252

5353
setInterval(() => dispatch('update'), 15000)
5454

55+
this.$socket.on('connect_error', (err) => {
56+
console.log(`websocket connect_error due to ${err.message}`)
57+
})
58+
5559
// TODO Move push notifications to other place
5660
this.$socket.on('match', match => {
5761
const market = state.markets.filter(m => m.id == match.market_id)[0]

0 commit comments

Comments
 (0)