We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 875fbfc commit ab100b4Copy full SHA for ab100b4
lib/internal/Magento/Framework/Message/Manager.php
@@ -63,7 +63,7 @@ class Manager implements ManagerInterface
63
* @var ExceptionMessageFactoryInterface
64
*/
65
private $exceptionMessageFactory;
66
-
+
67
/**
68
* @param Session $session
69
* @param Factory $messageFactory
@@ -90,7 +90,8 @@ public function __construct(
90
$this->eventManager = $eventManager;
91
$this->logger = $logger;
92
$this->defaultGroup = $defaultGroup;
93
- $this->exceptionMessageFactory = $exceptionMessageFactory ?: $exceptionMessageLookupFactory;
+ $this->exceptionMessageFactory = $exceptionMessageFactory ?:
94
+ ObjectManager::getInstance->get(ExceptionMessageLookupFactory::class);
95
}
96
97
0 commit comments