Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #356 from shocknet/refinements9
Browse files Browse the repository at this point in the history
helpful log
  • Loading branch information
Daniel Lugo authored Nov 6, 2020
2 parents 534eef2 + cc7b8eb commit cd80d42
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/store/sagas/ping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ function* ping() {
Date.now() - lastHandshake > 12000

if (socketIsDead) {
Logger.log('Socket is dead')
Logger.log(
`Socket is dead, claims ${
socket!.connected ? 'to be connected' : 'to be offline'
}`,
)
}

if ((!token && socket) || socketIsDead) {
Expand Down

0 comments on commit cd80d42

Please sign in to comment.