Skip to content

Commit c6e9ca2

Browse files
Ethan3600torhoehn
authored andcommitted
Fix namespace
1 parent de27216 commit c6e9ca2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use Magento\Framework\Autoload\Populator;
1313
use Magento\Framework\Config\File\ConfigFilePool;
1414
use Magento\Framework\Filesystem\DriverPool;
15+
use Psr\Log\LoggerInterface;
1516

1617
/**
1718
* A bootstrap of Magento application
@@ -423,7 +424,7 @@ protected function terminate(\Exception $e)
423424
if (!$this->objectManager) {
424425
throw new \DomainException();
425426
}
426-
$this->objectManager->get(\Psr\Log\LoggerInterface::class)->critical($e);
427+
$this->objectManager->get(LoggerInterface::class)->critical($e);
427428
} catch (\Exception $e) {
428429
$message .= "Could not write error message to log. Please use developer mode to see the message.\n";
429430
}

0 commit comments

Comments
 (0)