Better google error handling