mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #485 from sharelatex/sk-warn-on-zip-failure
when the uploaded file is not a zip, warn instead of error
This commit is contained in:
commit
5d55e383c7
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ module.exports = ArchiveManager =
|
|||
unzip.on "close", (exitCode) ->
|
||||
if error?
|
||||
error = new Error(error)
|
||||
logger.error err:error, source: source, "error checking zip size"
|
||||
logger.warn err:error, source: source, "error checking zip size"
|
||||
|
||||
lines = output.split("\n")
|
||||
lastLine = lines[lines.length - 2]?.trim()
|
||||
|
|
Loading…
Reference in a new issue