mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
fix exception in error log
This commit is contained in:
parent
34f47178fa
commit
8add9ff3ea
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue