Просмотр исходного кода

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 лет назад
Родитель
Сommit
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)