ソースを参照

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

Shane Kilkelly 11 年 前
親
コミット
810bddb2cb
1 ファイル変更、1 行追加、0 行削除
  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