Promote archive error log level to warning

This commit is contained in:
Alex Ling 2020-06-01 13:38:15 +00:00
parent 1b9d83f367
commit 9b5aea223d

View File

@ -121,9 +121,8 @@ class Title
end end
archive_exception = validate_archive path archive_exception = validate_archive path
unless archive_exception.nil? unless archive_exception.nil?
Logger.warn "File #{path} is corrupted or is not a valid archive. " \ Logger.warn "Unable to extract archive #{path}. Ignoring it. " \
"Ignoring it." "Archive error: #{archive_exception}"
Logger.debug "Archive error: #{archive_exception}"
next next
end end
entry = Entry.new path, self, @id, storage entry = Entry.new path, self, @id, storage