mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
fix log message
This commit is contained in:
parent
a8b14552c0
commit
0b583dd4e6
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ module.exports = ProjectManager =
|
||||||
jobs.push (callback) ->
|
jobs.push (callback) ->
|
||||||
DocumentManager.flushDocIfLoadedWithLock project_id, doc_id, (error) ->
|
DocumentManager.flushDocIfLoadedWithLock project_id, doc_id, (error) ->
|
||||||
if error? and error instanceof Errors.NotFoundError
|
if error? and error instanceof Errors.NotFoundError
|
||||||
logger.warn err: error, project_id: project_id, doc_id: doc_id, "found deleted doc when flushing, removing from redis"
|
logger.warn err: error, project_id: project_id, doc_id: doc_id, "found deleted doc when flushing"
|
||||||
callback()
|
callback()
|
||||||
else if error?
|
else if error?
|
||||||
logger.error err: error, project_id: project_id, doc_id: doc_id, "error flushing doc"
|
logger.error err: error, project_id: project_id, doc_id: doc_id, "error flushing doc"
|
||||||
|
|
Loading…
Reference in a new issue