Skip to content
Snippets Groups Projects
Commit 855aa8aa authored by vpaladiychuk's avatar vpaladiychuk
Browse files

Merge remote-tracking branch 'mainline/develop' into MAGETWO-38049

tomer was created on backend

- Fixed URL generation when used within a 'trans' directive
parents 84cdf573 da06802e
Branches
No related merge requests found
......@@ -33,7 +33,7 @@ class Row extends \Magento\CatalogInventory\Model\Indexer\Stock\AbstractAction
try {
$this->_reindexRows([$id]);
} catch (\Exception $e) {
throw new \Magento\Framework\Exception\LocalizedException($e->getMessage(), $e->getCode(), $e);
throw new \Magento\Framework\Exception\LocalizedException(__($e->getMessage()), $e);
}
}
}
......@@ -33,7 +33,7 @@ class Rows extends \Magento\CatalogInventory\Model\Indexer\Stock\AbstractAction
try {
$this->_reindexRows($ids);
} catch (\Exception $e) {
throw new \Magento\Framework\Exception\LocalizedException($e->getMessage(), $e->getCode(), $e);
throw new \Magento\Framework\Exception\LocalizedException(__($e->getMessage()), $e);
}
}
}
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