mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Continuing flushing document on tpds worker error
This commit is contained in:
parent
477278eea5
commit
7c8f228f48
1 changed files with 4 additions and 1 deletions
|
@ -315,7 +315,10 @@ module.exports = ProjectEntityHandler =
|
||||||
if modified
|
if modified
|
||||||
# Don't need to block for marking as updated
|
# Don't need to block for marking as updated
|
||||||
projectUpdateHandler.markAsUpdated project_id
|
projectUpdateHandler.markAsUpdated project_id
|
||||||
tpdsUpdateSender.addDoc {project_id:project_id, path:path.fileSystem, doc_id:doc_id, project_name:project.name, rev:rev}, callback
|
tpdsUpdateSender.addDoc {project_id:project_id, path:path.fileSystem, doc_id:doc_id, project_name:project.name, rev:rev}, (error) ->
|
||||||
|
if error?
|
||||||
|
logger.err {err: error, project_id, doc_id, version}, "error sending doc to tpds, but continuing"
|
||||||
|
callback()
|
||||||
else
|
else
|
||||||
callback()
|
callback()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue