Skip to content

Commit bd15c94

Browse files
author
vpaladiychuk
committed
Merge branch 'MAGETWO-34988' into MAGETWO-26762
2 parents 82a7ef2 + bbfb041 commit bd15c94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/App/FrontController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function dispatch(RequestInterface $request)
8686
// @todo Message should be clarified
8787
$message = $this->appState->getMode() == State::MODE_DEVELOPER
8888
? $e->getMessage()
89-
: (string)__('An error occurred while processing your request');
89+
: (string)new \Magento\Framework\Phrase('An error occurred while processing your request');
9090
$result = $this->handleException($e, $actionInstance, $message);
9191
break;
9292
}

0 commit comments

Comments
 (0)