lib/epubinfo/parser.rb in epubinfo_with_toc-0.5.5 vs lib/epubinfo/parser.rb in epubinfo_with_toc-0.5.6
- old
+ new
@@ -17,10 +17,10 @@
end
def zip_file
begin
@zip_file ||= Zip::File.open(@path)
- rescue Zip::ZipError => e
+ rescue Zip::Error => e
raise NotAnEPUBFileError.new(e)
end
end
def metadata_path