src/main/java/org/embulk/decoder/unzip/ArchiveInputStreamIterator.java in embulk-decoder-unzip-0.1.3 vs src/main/java/org/embulk/decoder/unzip/ArchiveInputStreamIterator.java in embulk-decoder-unzip-0.1.4

- old
+ new

@@ -1,7 +1,8 @@ package org.embulk.decoder.unzip; +import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import java.util.Iterator; import java.util.zip.ZipException; @@ -66,9 +67,12 @@ } catch (ZipException ze) { System.err.println("ZipException: " + ze.getMessage()); continue; } catch (IllegalArgumentException ie) { System.err.println("IllegalArgumentException: " + ie.getMessage()); + continue; + } catch (EOFException eof) { + System.err.println("EOFException: " + eof.getMessage()); continue; } if (entry == null) { endOfArchive = true; return false;