From 7f92d5248ac03b1f75fb173fc50363dfdf3d929a Mon Sep 17 00:00:00 2001 From: Keiran Raine Date: Mon, 31 Oct 2016 16:18:53 +0000 Subject: [PATCH] Ensure an error code is emmitted on failure --- bin/Admin_EnsemblGtf2CacheConverter.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/Admin_EnsemblGtf2CacheConverter.pl b/bin/Admin_EnsemblGtf2CacheConverter.pl index 6f78393..83d9e3c 100755 --- a/bin/Admin_EnsemblGtf2CacheConverter.pl +++ b/bin/Admin_EnsemblGtf2CacheConverter.pl @@ -62,7 +62,7 @@ $ccds = parseCCDSFile($opts->{'c'}) if defined $opts->{'c'}; convertGtf($opts,$lookup,$ccds); } catch { - warn "An error occurred while building reference support files\:\n\t$_"; # not $@ + die "An error occurred while building reference support files\:\n\t$_"; # not $@ }; sub convertGtf {