Commit 5446c69d authored by Sebastian Castro's avatar Sebastian Castro

catch error on each element import

parent 2509232b
......@@ -135,7 +135,8 @@ class ElementImportService
// processing each data
foreach($data as $element)
{
$this->createElementFromArray($element, $import);
try { $this->createElementFromArray($element, $import); }
catch (\Exception $e) { }
if (($i % $batchSize) === 0)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment