We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc6ec2b commit 038dce9Copy full SHA for 038dce9
app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency/FetchRates.php
@@ -22,7 +22,7 @@ public function execute()
22
$service = $this->getRequest()->getParam('rate_services');
23
$this->_getSession()->setCurrencyRateService($service);
24
if (!$service) {
25
- throw new \Exception(__('Please specify a correct Import Service.'));
+ throw new \Magento\Framework\Exception\LocalizedException(__('Please specify a correct Import Service.'));
26
}
27
try {
28
/** @var \Magento\Directory\Model\Currency\Import\ImportInterface $importModel */
0 commit comments