From b73d7f23c3834bf19770847605f48235755f30b9 Mon Sep 17 00:00:00 2001 From: Oliver Matthews Date: Thu, 6 Mar 2014 10:53:59 +0000 Subject: [PATCH] don't log doc contents if file is unchanged. --- .../web/app/coffee/Features/Project/ProjectEntityHandler.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/coffee/Features/Project/ProjectEntityHandler.coffee b/services/web/app/coffee/Features/Project/ProjectEntityHandler.coffee index 19675c70cf..0469e832ac 100644 --- a/services/web/app/coffee/Features/Project/ProjectEntityHandler.coffee +++ b/services/web/app/coffee/Features/Project/ProjectEntityHandler.coffee @@ -217,7 +217,7 @@ module.exports = ProjectEntityHandler = logger.err "error putting doc #{doc_id} in project #{project_id} #{err}" callback err else if docComparitor.areSame docLines, doc.lines - logger.log sl_req_id: sl_req_id, docLines:docLines, project_id:project_id, doc_id:doc_id, rev:doc.rev, "old doc lines are same as the new doc lines, not updating them" + logger.log sl_req_id: sl_req_id, project_id:project_id, doc_id:doc_id, rev:doc.rev, "old doc lines are same as the new doc lines, not updating them" callback() else logger.log sl_req_id: sl_req_id, project_id:project_id, doc_id:doc_id, docLines: docLines, oldDocLines: doc.lines, rev:doc.rev, "updating doc lines"