Enhanced logger
This commit is contained in:
parent
47329fb2e7
commit
b9a9c6bde3
|
@ -52,7 +52,7 @@ function geocoordinates_resolve_item(&$item) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($data->total_results == 0) OR (count($data->results) == 0)) {
|
if (($data->total_results == 0) OR (count($data->results) == 0)) {
|
||||||
logger("No results found", LOGGER_DEBUG);
|
logger("No results found for coordinates ".$item["coord"], LOGGER_DEBUG);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue