From 810bddb2cbc6cdf1cdcbbccf80defe1a14f98c2c Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Thu, 10 Sep 2015 14:32:35 +0100 Subject: [PATCH] Log a message when the web api produces a 404 response. --- services/track-changes/app/coffee/WebApiManager.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/services/track-changes/app/coffee/WebApiManager.coffee b/services/track-changes/app/coffee/WebApiManager.coffee index 9264862fa3..d7441682e3 100644 --- a/services/track-changes/app/coffee/WebApiManager.coffee +++ b/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