dotmailer / dotmailer-magento2-extension

The official Dotdigital for Magento2 extension
https://dotdigital.com/integrations/magento
MIT License
48 stars 64 forks source link

EXAMPLE Add logging prior to calling array_combine #631

Closed sta1r closed 1 month ago

sta1r commented 2 months ago

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.