From 9e53c0b99e7973e67e5dbdc0e85e12fe2ff53939 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Fri, 14 Oct 2016 10:23:13 +0100 Subject: [PATCH] fix exception in error log --- app/coffee/OutputCacheManager.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/coffee/OutputCacheManager.coffee b/app/coffee/OutputCacheManager.coffee index 76692b3..91e085a 100644 --- a/app/coffee/OutputCacheManager.coffee +++ b/app/coffee/OutputCacheManager.coffee @@ -85,7 +85,7 @@ module.exports = OutputCacheManager = # clean up the directory we just created fse.remove cacheDir, (err) -> if err? - logger.error err: err, dir: dir, "error removing cache dir after failure" + logger.error err: err, dir: cacheDir, "error removing cache dir after failure" else # pass back the list of new files in the cache callback(err, results)