From 2a8c9feeb8e20147a503b7419972edc22a383cb1 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 1eeb922..f4ffc0c 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