From 3e9994aa2c41803671f7535a59834ba235cf1d05 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 27 Jul 2020 15:05:30 +0100 Subject: [PATCH] JAL-3696 log the error message from the exception to the console --- src/jalview/io/vcf/VCFLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/io/vcf/VCFLoader.java b/src/jalview/io/vcf/VCFLoader.java index a44ee26..13d7ae8 100644 --- a/src/jalview/io/vcf/VCFLoader.java +++ b/src/jalview/io/vcf/VCFLoader.java @@ -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); } } -- 1.7.10.2