Permalink
Browse files

Don't catch a User Error and re-throw as a Reviewed Exception. That m…

…akes Eric unhappy.
  • Loading branch information...
1 parent f3d03f9 commit 97fabe782ff69df415bb0b8b55703ad06917356b @eitanbanks eitanbanks committed Nov 13, 2012
@@ -198,8 +198,6 @@ public void mergeInto(VariantContextWriterStorage target) {
source.close();
file.delete(); // this should be last to aid in debugging when the process fails
- } catch (UserException e) {
- throw new ReviewedStingException("BUG: intermediate file " + file + " is malformed, got error while reading", e);
} catch (IOException e) {
throw new UserException.CouldNotReadInputFile(file, "Error reading file in VCFWriterStorage: ", e);
}

0 comments on commit 97fabe7

Please sign in to comment.