JAL-3696 log the error message from the exception to the console
authorJim Procter <jprocter@issues.jalview.org>
Mon, 27 Jul 2020 14:05:30 +0000 (15:05 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 27 Jul 2020 14:39:13 +0000 (15:39 +0100)
src/jalview/io/vcf/VCFLoader.java

index 1eeb922..f4ffc0c 100644 (file)
@@ -912,7 +912,7 @@ public class VCFLoader
          * RuntimeException throwable by htsjdk
          */
         String msg = String.format("Error reading VCF for %s:%d-%d: %s ",
-                map.chromosome, vcfStart, vcfEnd);
+                map.chromosome, vcfStart, vcfEnd,e.getLocalizedMessage());
         Cache.log.error(msg);
       }
     }