Skip to content

Commit

Permalink
Fail if L:S doesn't find the country
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Oct 9, 2018
1 parent d4daac5 commit cbdaae9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions createdatabase.PL
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,8 @@ if(my $oa = $ENV{'OPENADDR_HOME'}) {
$code = uc($code);
$state = $code if($code ne 'UNKNOWN');
}
} else {
die "Locale::SubCountry failed on $full_country";
}
}
my $city;
Expand Down

0 comments on commit cbdaae9

Please sign in to comment.