only send data to google if no error in sox