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 de27216 commit c6e9ca2Copy full SHA for c6e9ca2
lib/internal/Magento/Framework/App/Bootstrap.php
@@ -12,6 +12,7 @@
12
use Magento\Framework\Autoload\Populator;
13
use Magento\Framework\Config\File\ConfigFilePool;
14
use Magento\Framework\Filesystem\DriverPool;
15
+use Psr\Log\LoggerInterface;
16
17
/**
18
* A bootstrap of Magento application
@@ -423,7 +424,7 @@ protected function terminate(\Exception $e)
423
424
if (!$this->objectManager) {
425
throw new \DomainException();
426
}
- $this->objectManager->get(\Psr\Log\LoggerInterface::class)->critical($e);
427
+ $this->objectManager->get(LoggerInterface::class)->critical($e);
428
} catch (\Exception $e) {
429
$message .= "Could not write error message to log. Please use developer mode to see the message.\n";
430
0 commit comments