Explorar el Código

when the uploaded file is not a zip, warn instead of error

Shane Kilkelly hace 9 años
padre
commit
779336e5b0

+ 1 - 1
services/web/app/coffee/Features/Uploads/ArchiveManager.coffee

@@ -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()