Add more useful error logging to google docs refresh