Added exception handling for geo-lookup.