Skip to content

Commit

Permalink
debug errorlogging
Browse files Browse the repository at this point in the history
  • Loading branch information
tamw-wnet committed Jun 27, 2024
1 parent a7368ac commit ef6519a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/class-pbs-check-dma.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public function get_location_from_ip($client_ip) {
}
$country = !empty($zipcode) ? 'USA' : 'Outside of the US'; // the PBS endpoint returns a 404 for non-US IP addresses
$return = array('zipcode' => $zipcode, 'state' => $state, 'county' => $county, 'country' => $country);
error_log("location is " . json_encode($return));
return $return;
}
}
Expand Down

0 comments on commit ef6519a

Please sign in to comment.