mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 18:51:11 +00:00
Merge branch 'master' into ja-track-changes
This commit is contained in:
commit
f66d631886
1 changed files with 1 additions and 1 deletions
|
@ -35,8 +35,8 @@ module.exports = DocumentUpdaterController =
|
||||||
client.emit "otUpdateApplied", update
|
client.emit "otUpdateApplied", update
|
||||||
|
|
||||||
_processErrorFromDocumentUpdater: (io, doc_id, error, message) ->
|
_processErrorFromDocumentUpdater: (io, doc_id, error, message) ->
|
||||||
logger.error err: error, doc_id: doc_id, "error from document updater"
|
|
||||||
for client in io.sockets.clients(doc_id)
|
for client in io.sockets.clients(doc_id)
|
||||||
|
logger.error err: error, doc_id: doc_id, client_id: client.id, "error from document updater, disconnecting client"
|
||||||
client.emit "otUpdateError", error, message
|
client.emit "otUpdateError", error, message
|
||||||
client.disconnect()
|
client.disconnect()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue