Skip to content

Commit

Permalink
Adding info to the error msg about how to fix get() bug
Browse files Browse the repository at this point in the history
  • Loading branch information
amilacsw committed Dec 14, 2017
1 parent 809a621 commit bd23c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/TGI/Mutpro/Preprocess/HugoGeneMethods.pm
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ sub makeHugoGeneObjects {
my %hugo_objects;
my $page = get($HugoUrl);
if ( not $page ) {
die "HotSpot3D::HugoGeneMethods::makeHugoGeneObjects ERROR: no data from url request.\n";
die "HotSpot3D::HugoGeneMethods::makeHugoGeneObjects ERROR: no data from url request. Installing Mozilla::CA might fix this issue\n";
}
foreach my $line (split /\n/, $page) {
if ($line =~ /withdrawn/i || $line =~ /HGNC ID\s+Approved\s+Symbol\s+/) { next; }
Expand Down

0 comments on commit bd23c73

Please sign in to comment.