mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-24 01:03:25 +00:00
only log document ids, not document content
avoid filling the log with large documents
This commit is contained in:
parent
d3dff28bea
commit
70200a9cf1
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ module.exports = DocstoreHandler =
|
|||
json: true
|
||||
}, (error, res, docs) ->
|
||||
return callback(error) if error?
|
||||
logger.log {error, res, docs: if docs?.length then docs.map (d) -> d._id else []}, "docstore response"
|
||||
if 200 <= res.statusCode < 300
|
||||
callback(null, docs)
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue