Explorar o código

fix exception in error log

Brian Gough %!s(int64=10) %!d(string=hai) anos
pai
achega
8add9ff3ea
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/clsi/app/coffee/OutputCacheManager.coffee

+ 1 - 1
services/clsi/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)