File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/internal/Magento/Framework/App Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ public function launch()
109
109
*/
110
110
public function catchException (Bootstrap $ bootstrap , \Exception $ exception )
111
111
{
112
- $ this ->getLogger ()->critical ($ exception ->getMessage () . "\n" . $ exception -> getTraceAsString () );
112
+ $ this ->getLogger ()->critical ($ exception ->getMessage ());
113
113
if ($ bootstrap ->isDeveloperMode ()) {
114
114
$ this ->response ->setHttpResponseCode (404 );
115
115
$ this ->response ->setHeader ('Content-Type ' , 'text/plain ' );
@@ -176,7 +176,7 @@ private function getFilesystem()
176
176
private function getLogger ()
177
177
{
178
178
if (!$ this ->logger ) {
179
- $ this ->logger = $ this ->objectManager ->get (LoggerInterface::class);
179
+ $ this ->logger = $ this ->objectManager ->create (LoggerInterface::class);
180
180
}
181
181
182
182
return $ this ->logger ;
You can’t perform that action at this time.
0 commit comments