diff --git a/app/Importer/LocationImporter.php b/app/Importer/LocationImporter.php index 36c909ba8b6..70058347676 100644 --- a/app/Importer/LocationImporter.php +++ b/app/Importer/LocationImporter.php @@ -102,8 +102,8 @@ public function createLocationIfNotExists(array $row) } else { Log::debug($location->getErrors()); - return $location->errors; $this->logError($location, 'Location "'.$this->item['name'].'"'); + return $location->errors; }