diff --git a/app/Controllers/Customers.php b/app/Controllers/Customers.php index 13c5c5dea..a797f9990 100644 --- a/app/Controllers/Customers.php +++ b/app/Controllers/Customers.php @@ -488,6 +488,7 @@ class Customers extends Persons if($invalidated) { $failCodes[] = $i; + log_message('error',"Row $i was not imported: Either email or account number already exist or data was invalid."); } elseif($this->customer->save_customer($person_data, $customer_data)) {