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 9106a37 commit bbfb041Copy full SHA for bbfb041
lib/internal/Magento/Framework/App/FrontController.php
@@ -86,7 +86,7 @@ public function dispatch(RequestInterface $request)
86
// @todo Message should be clarified
87
$message = $this->appState->getMode() == State::MODE_DEVELOPER
88
? $e->getMessage()
89
- : (string)__('An error occurred while processing your request');
+ : (string)new \Magento\Framework\Phrase('An error occurred while processing your request');
90
$result = $this->handleException($e, $actionInstance, $message);
91
break;
92
}
0 commit comments