From: Jim Procter Date: Mon, 27 Jul 2020 14:05:30 +0000 (+0100) Subject: JAL-3696 log the error message from the exception to the console X-Git-Tag: Develop-2_11_2_0-d20201215~24^2~24 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=2a8c9feeb8e20147a503b7419972edc22a383cb1;p=jalview.git JAL-3696 log the error message from the exception to the console --- 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); } }