Explorar el Código

Log a message when the web api produces a 404 response.

Shane Kilkelly hace 11 años
padre
commit
810bddb2cb
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      services/track-changes/app/coffee/WebApiManager.coffee

+ 1 - 0
services/track-changes/app/coffee/WebApiManager.coffee

@@ -14,6 +14,7 @@ module.exports = WebApiManager =
 			if error?
 				return callback(error)
 			if res.statusCode == 404
+				logger.log url: url, "got 404 from web api"
 				return callback null, null
 			if res.statusCode >= 200 and res.statusCode < 300
 				return callback null, body