Added Try:Except to logging to Google. Untested.