Skip to content
Snippets Groups Projects
Commit a905e5fe authored by Ji Lu's avatar Ji Lu
Browse files

Merge remote-tracking branch 'upstream/develop' into MAGETWO-22669-Change-Table-Type-To-InnoDB

parents adb93d9f a5d01de2
Branches master
No related merge requests found
...@@ -22,7 +22,7 @@ class FetchRates extends \Magento\CurrencySymbol\Controller\Adminhtml\System\Cur ...@@ -22,7 +22,7 @@ class FetchRates extends \Magento\CurrencySymbol\Controller\Adminhtml\System\Cur
$service = $this->getRequest()->getParam('rate_services'); $service = $this->getRequest()->getParam('rate_services');
$this->_getSession()->setCurrencyRateService($service); $this->_getSession()->setCurrencyRateService($service);
if (!$service) { if (!$service) {
throw new \Exception(__('Please specify a correct Import Service.')); throw new \Magento\Framework\Exception\LocalizedException(__('Please specify a correct Import Service.'));
} }
try { try {
/** @var \Magento\Directory\Model\Currency\Import\ImportInterface $importModel */ /** @var \Magento\Directory\Model\Currency\Import\ImportInterface $importModel */
......
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