fixed missing value in logger

This commit is contained in:
Henry Oswald 2015-12-15 19:33:37 +00:00
parent 253a99e780
commit e8e0b673eb

View file

@ -40,7 +40,7 @@ module.exports = OutputCacheManager =
callback(err) callback(err)
else if not stats.isFile() else if not stats.isFile()
# other filetype - reject it # other filetype - reject it
logger.error err: err, src: src, dst: dst, stat: stats, "nonfile output - refusing to copy to cache" logger.error err: err, src: src, stat: stats, "nonfile output - refusing to copy to cache"
callback(new Error("output file is not a file"), file) callback(new Error("output file is not a file"), file)
else else
# it's a plain file, ok to copy # it's a plain file, ok to copy