mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
add comment about log.error for excludeVersions
This commit is contained in:
parent
1e54b4c72c
commit
215a939d4e
1 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,8 @@ module.exports = ProjectManager =
|
|||
return cb(error)
|
||||
# skip getting the doc if we already have that version
|
||||
if version? and version is excludeVersions[doc_id]
|
||||
# not currently using excludeVersions so we shouldn't get here!
|
||||
# change to logger.log when this code path is in use
|
||||
logger.error err: error, project_id: project_id, doc_id: doc_id, version: version, "skipping doc version in getProjectDocs"
|
||||
return cb()
|
||||
# otherwise get the doc lines from redis
|
||||
|
|
Loading…
Reference in a new issue