From 9b5aea223d28a66f7ceb31b9b208c27ebaf6f64f Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Mon, 1 Jun 2020 13:38:15 +0000 Subject: [PATCH] Promote archive error log level to warning --- src/library.cr | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/library.cr b/src/library.cr index 6a877a8..935e7ee 100644 --- a/src/library.cr +++ b/src/library.cr @@ -121,9 +121,8 @@ class Title end archive_exception = validate_archive path unless archive_exception.nil? - Logger.warn "File #{path} is corrupted or is not a valid archive. " \ - "Ignoring it." - Logger.debug "Archive error: #{archive_exception}" + Logger.warn "Unable to extract archive #{path}. Ignoring it. " \ + "Archive error: #{archive_exception}" next end entry = Entry.new path, self, @id, storage