This Function is Broken! We Need to Rewrite It

WHAT IF the code we wrote cannot find a Customer record? After all, the sync from Books to CRM occurs only every 3 hours.

The search and the function breaks if there is not a Customer record already. So, in the next video, we use an IF statement to proceed if it found a Customer, and if not, create a Customer record.