fix exception in error log

This commit is contained in:
Brian Gough committed 2016-10-14 10:23:13 +01:00
1 parent 61089eca40
commit 9e53c0b99e
1 file changed
+1 -1
+1 -1
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)