Update app/coffee/Router.coffee

Co-Authored-By: Jakob Ackermann <das7pad@outlook.com>
This commit is contained in:
Brian Gough 2020-02-03 14:46:14 +00:00 committed by GitHub
parent ce366fdbee
commit e04b6e1e49

View file

@ -43,7 +43,7 @@ module.exports = Router =
session.on 'connection', (error, client, session) ->
client?.on "error", (err) ->
logger.err "socket.io client error", { err }
logger.err { err }, "socket.io client error"
if client.connected
client.emit("reconnectGracefully")
client.disconnect()