Handle Google request errors

I promise I will fix up these long lines. Eventually.