Преглед изворни кода

don't log errors from redis backend

this also picks up errors from RedisManager like "doc ops range is not
loaded in redis"
Brian Gough пре 9 година
родитељ
комит
b186a01c04
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      services/document-updater/app/coffee/RedisBackend.coffee

+ 2 - 1
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)