diff --git a/lib/middleware/nunjucks-configuration/nunjucks-configuration.js b/lib/middleware/nunjucks-configuration/nunjucks-configuration.js
index <HASH>..<HASH> 100644
--- a/lib/middleware/nunjucks-configuration/nunjucks-configuration.js
+++ b/lib/middleware/nunjucks-configuration/nunjucks-configuration.js
@@ -13,6 +13,9 @@ const nunjucksHelpers = require('@ministryofjustice/fb-components/templates/nunj
 
 const cloneDeep = require('lodash.clonedeep')
 
+const debug = require('debug')
+const error = debug('runner:nunjucks-configuration:error')
+
 let nunjucksAppEnv
 
 const nunjucksConfiguration = (app, components = [], options = {}) => {
@@ -129,8 +132,7 @@ const getPageOutput = async (pageInstance, context = {}) => {
     const renderContext = Object.assign({}, context, { page })
     nunjucksAppEnv.render(templatePath, renderContext, (err, output) => {
       if (err) {
-      // TODO: log error not console.log(err)
-      // console.log({templatePath, page})
+        error(`${templatePath} -> ${err.message}`)
         reject(err)
       }
       Object.keys(sanitizeMatches).forEach(property => {
Add error logging in a place where someone said there should be error logging