Skip to content

Commit

Permalink
Pass on exception if there are read errors. Relates to #45
Browse files Browse the repository at this point in the history
  • Loading branch information
s-andrews committed Feb 28, 2020
1 parent cb87121 commit 45c9977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uk/ac/babraham/FastQC/Sequence/FastQFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ private void readNext() throws SequenceFormatException {


}
// We could have other errors like zip format exceptions which we need to catch
catch (IOException ioe) {
nextSequence = null;
ioe.printStackTrace();
throw new SequenceFormatException(ioe.getLocalizedMessage());
}
}

Expand Down

0 comments on commit 45c9977

Please sign in to comment.