better logging for google errors