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:21:54 +0000 (15:21 +0100)
src/jalview/io/vcf/VCFLoader.java

index a44ee26..13d7ae8 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);
       }
     }