Better geolocate error checking