fix exception in error log

This commit is contained in:
Brian Gough
2016-10-14 10:23:13 +01:00
parent 61089eca40
commit 9e53c0b99e

View File

@@ -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)