remove excessive logging

GitOrigin-RevId: 62024bbe0415a4fdae66eb1b9c6707e5faec7cd1
This commit is contained in:
Ersun Warncke
2019-11-27 12:17:32 +00:00
committed by sharelatex
parent debb82960c
commit 2c335802ca
83 changed files with 26 additions and 955 deletions
@@ -253,7 +253,7 @@ const ProjectEntityUpdateHandler = {
if (doc == null) {
// Do not allow an update to a doc which has never exist on this project
logger.warn(
{ docId, projectId, lines },
{ docId, projectId },
'doc not found while updating doc lines'
)
return callback(new Errors.NotFoundError('doc not found'))
@@ -272,7 +272,7 @@ const ProjectEntityUpdateHandler = {
(err, modified, rev) => {
if (err != null) {
logger.warn(
{ err, docId, projectId, lines },
{ err, docId, projectId },
'error sending doc to docstore'
)
return callback(err)