From b186a01c04596c38d4cf9f652d23fd8dc8225b50 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Fri, 3 Mar 2017 15:27:42 +0000 Subject: [PATCH] don't log errors from redis backend this also picks up errors from RedisManager like "doc ops range is not loaded in redis" --- services/document-updater/app/coffee/RedisBackend.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/document-updater/app/coffee/RedisBackend.coffee b/services/document-updater/app/coffee/RedisBackend.coffee index 9ec479c01f..d69cd21a6e 100644 --- a/services/document-updater/app/coffee/RedisBackend.coffee +++ b/services/document-updater/app/coffee/RedisBackend.coffee @@ -100,7 +100,8 @@ class MultiClient cb(error, result) async.parallel jobs, (error, results) -> if error? - logger.error {err: error}, "error in redis backend" + # suppress logging of errors + # logger.error {err: error}, "error in redis backend" else compareResults(results, "exec") callback(primaryError, primaryResult)