Explorar el Código

Log number of retries

James Allen hace 10 años
padre
commit
3c8aeb1262
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      services/track-changes/app/coffee/DiffManager.coffee

+ 1 - 1
services/track-changes/app/coffee/DiffManager.coffee

@@ -43,7 +43,7 @@ module.exports = DiffManager =
 		callback = (error, args...) ->
 			if error?
 				if error.retry and retries > 0
-					logger.warn {error, project_id, doc_id, version}, "retrying getDocumentBeforeVersion"
+					logger.warn {error, project_id, doc_id, version, retries}, "retrying getDocumentBeforeVersion"
 					retry()
 				else
 					_callback(error)