From ef661884925c203d6669f5a54fc79f5db131eac9 Mon Sep 17 00:00:00 2001 From: Eugene Tulika Date: Tue, 3 Oct 2017 23:42:19 +0300 Subject: [PATCH] MAGETWO-80229: Vague error message for invalid url_key for category #11049 --- .../Model/Import/Product/CategoryProcessor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/CategoryProcessor.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/CategoryProcessor.php index 5164c24b2a61c..54fdecbaaf967 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/CategoryProcessor.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/CategoryProcessor.php @@ -121,7 +121,7 @@ protected function createCategory($name, $parentId) try { $category->save(); $this->categoriesCache[$category->getId()] = $category; - } catch (\Exception $e){ + } catch (\Exception $e) { $this->addFailedCategory($category, $e); }