From 12b268054a557c1b04943e68a7cf49433d2d961b Mon Sep 17 00:00:00 2001 From: Nigel Horne Date: Tue, 7 May 2024 11:12:08 -0400 Subject: [PATCH] Fix debug statement --- lib/Geo/Coder/List.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Geo/Coder/List.pm b/lib/Geo/Coder/List.pm index b52724b..36744ed 100644 --- a/lib/Geo/Coder/List.pm +++ b/lib/Geo/Coder/List.pm @@ -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) {