Bear in mind if you add this, and your code does hit the error, we will sync the contact regardless without data fields. This is not optimal and may impact the behaviour of your program. So arguably we should throw an exception here, but I've put it like this for now to demonstrate, so we get past this step, and so that if there are further errors in the process we may see those as well.
Bear in mind if you add this, and your code does hit the error, we will sync the contact regardless without data fields. This is not optimal and may impact the behaviour of your program. So arguably we should throw an exception here, but I've put it like this for now to demonstrate, so we get past this step, and so that if there are further errors in the process we may see those as well.