Skip to content

Commit caa4471

Browse files
committed
Small exception fix
1 parent c413389 commit caa4471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/App/Feed/Importer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function importArray(array $data, $format = 'atom')
4848
return $this->feedFactory->create(['feed' => $feed]);
4949
} catch (\Zend_Feed_Exception $e) {
5050
throw new \Magento\Framework\Exception\FeedImporterException(
51-
new \Magento\Framework\Phrase($e->getMessage()),
51+
__($e->getMessage()),
5252
$e
5353
);
5454
}

0 commit comments

Comments
 (0)