added more error handling for geoip db stuff

added error handling functionality so that if the user does not
have a geoip2 database or they have an error with their db, the
geolocation functionality will be disabled instead of letting
the exception remain uncaught