Do the try/catch around sending kpi data in kpi_data.js, pass errors back as done.