fix exception in error log
This commit is contained in:
@@ -85,7 +85,7 @@ module.exports = OutputCacheManager =
|
|||||||
# clean up the directory we just created
|
# clean up the directory we just created
|
||||||
fse.remove cacheDir, (err) ->
|
fse.remove cacheDir, (err) ->
|
||||||
if 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
|
else
|
||||||
# pass back the list of new files in the cache
|
# pass back the list of new files in the cache
|
||||||
callback(err, results)
|
callback(err, results)
|
||||||
|
|||||||
Reference in New Issue
Block a user