avoid logging doclines in getProjectDocs

This commit is contained in:
Brian Gough 2017-08-03 14:42:21 +01:00
parent 80be5adc0d
commit 860537146b

View file

@ -51,7 +51,7 @@ module.exports = HttpController =
ProjectManager.getProjectDocs project_id, excludeVersions, (error, result) ->
timer.done()
return next(error) if error?
logger.log project_id: project_id, result: result, "got docs via http"
logger.log project_id: project_id, result: ("#{doc._id}:#{doc.rev}" for doc in result), "got docs via http"
res.send result
setDoc: (req, res, next = (error) ->) ->