From 779336e5b0bee8cc20503c453d77929b6c8163c0 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Thu, 13 Apr 2017 15:12:54 +0100 Subject: [PATCH] when the uploaded file is not a zip, warn instead of error --- services/web/app/coffee/Features/Uploads/ArchiveManager.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/coffee/Features/Uploads/ArchiveManager.coffee b/services/web/app/coffee/Features/Uploads/ArchiveManager.coffee index 607186e1bb..a7f0ccdbeb 100644 --- a/services/web/app/coffee/Features/Uploads/ArchiveManager.coffee +++ b/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()