mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-09 09:16:13 +00:00
Remove missing parameter in log lines
This commit is contained in:
parent
2a9e451876
commit
0ba70e7ccc
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ module.exports = ArchiveManager =
|
|||
error += chunk
|
||||
|
||||
unzip.on "error", (err) ->
|
||||
logger.error {err, source, destination}, "unzip failed"
|
||||
logger.error {err, source}, "unzip failed"
|
||||
if err.code == "ENOENT"
|
||||
logger.error "unzip command not found. Please check the unzip command is installed"
|
||||
callback(err)
|
||||
|
@ -33,7 +33,7 @@ module.exports = ArchiveManager =
|
|||
unzip.on "exit", () ->
|
||||
if error?
|
||||
error = new Error(error)
|
||||
logger.error err:error, source: source, destination: destination, "error checking zip size"
|
||||
logger.error err:error, source: source, "error checking zip size"
|
||||
|
||||
lines = output.split("\n")
|
||||
lastLine = lines[lines.length - 2]?.trim()
|
||||
|
|
Loading…
Add table
Reference in a new issue