Skip to content

Commit 475e786

Browse files
author
Susan Wright
committed
Merge remote-tracking branch 'mainline/develop' into MAGETWO-36298
2 parents 0435df6 + a5d01de commit 475e786

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency

1 file changed

+1
-1
lines changed

app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency/FetchRates.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function execute()
2222
$service = $this->getRequest()->getParam('rate_services');
2323
$this->_getSession()->setCurrencyRateService($service);
2424
if (!$service) {
25-
throw new \Exception(__('Please specify a correct Import Service.'));
25+
throw new \Magento\Framework\Exception\LocalizedException(__('Please specify a correct Import Service.'));
2626
}
2727
try {
2828
/** @var \Magento\Directory\Model\Currency\Import\ImportInterface $importModel */

0 commit comments

Comments
 (0)