in a followup (or here) we also need to handle the error case so if something fails we know to retry the sync.