mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Update app/coffee/Router.coffee
Co-Authored-By: Jakob Ackermann <das7pad@outlook.com>
This commit is contained in:
parent
ce366fdbee
commit
e04b6e1e49
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ module.exports = Router =
|
||||||
|
|
||||||
session.on 'connection', (error, client, session) ->
|
session.on 'connection', (error, client, session) ->
|
||||||
client?.on "error", (err) ->
|
client?.on "error", (err) ->
|
||||||
logger.err "socket.io client error", { err }
|
logger.err { err }, "socket.io client error"
|
||||||
if client.connected
|
if client.connected
|
||||||
client.emit("reconnectGracefully")
|
client.emit("reconnectGracefully")
|
||||||
client.disconnect()
|
client.disconnect()
|
||||||
|
|
Loading…
Reference in a new issue