Adding error handler for geo-loc.