diff --git a/services/document-updater/app/js/RedisManager.js b/services/document-updater/app/js/RedisManager.js index a5bab3c98b..b14af20fb0 100644 --- a/services/document-updater/app/js/RedisManager.js +++ b/services/document-updater/app/js/RedisManager.js @@ -248,7 +248,7 @@ module.exports = RedisManager = { projectHistoryId = parseInt(projectHistoryId) } - if (!pathname) { + if (docLines && version && !pathname) { metrics.inc('pathname', 1, { path: 'RedisManager.getDoc', status: pathname === '' ? 'zero-length' : 'undefined',