Don't catch a User Error and re-throw as a Reviewed Exception. That makes Eric unhappy.
This commit is contained in:
parent
66cbaaee31
commit
525cf331f4
|
|
@ -198,8 +198,6 @@ public class VariantContextWriterStorage implements Storage<VariantContextWriter
|
|||
|
||||
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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue