mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
use a separate field for client errors
This commit is contained in:
parent
e04b6e1e49
commit
49a8e1214b
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ module.exports = Router =
|
|||
|
||||
session.on 'connection', (error, client, session) ->
|
||||
client?.on "error", (err) ->
|
||||
logger.err { err }, "socket.io client error"
|
||||
logger.err { clientErr: err }, "socket.io client error"
|
||||
if client.connected
|
||||
client.emit("reconnectGracefully")
|
||||
client.disconnect()
|
||||
|
|
Loading…
Reference in a new issue