Include exception in VCFWriter when one is found when rethrowing as ReviewedStingException
This commit is contained in:
parent
10a6b57be6
commit
09bbd2c4c3
|
|
@ -250,7 +250,7 @@ class VCFWriter extends IndexingVariantContextWriter {
|
||||||
mWriter.write("\n");
|
mWriter.write("\n");
|
||||||
mWriter.flush(); // necessary so that writing to an output stream will work
|
mWriter.flush(); // necessary so that writing to an output stream will work
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new RuntimeException("Unable to write the VCF object to " + getStreamName());
|
throw new RuntimeException("Unable to write the VCF object to " + getStreamName(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue