Skip to content

Commit

Permalink
Fix debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed May 7, 2024
1 parent 1a2d947 commit 12b2680
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Geo/Coder/List.pm
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,8 @@ sub geocode {
print Data::Dumper->new([\@rc])->Dump() if($self->{'debug'} >= 2);
if(defined($rc[0])) { # check it's not an empty hash
if((!defined($rc[0]->{lat})) || (!defined($rc[0]->{lng}))) {
::diag(Data::Dumper->new([\@rc])->Dump());
# ::diag(Data::Dumper->new([\@rc])->Dump());
warn Data::Dumper->new([\@rc])->Dump();
Carp::croak("BUG: '$location': HASH exists but is not sensible");
}
if(wantarray) {
Expand Down

0 comments on commit 12b2680

Please sign in to comment.