Skip to content

Commit

Permalink
Fix namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan3600 committed Jul 15, 2018
1 parent ada5457 commit ef616ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/internal/Magento/Framework/App/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
use Magento\Framework\Autoload\Populator;
use Magento\Framework\Config\File\ConfigFilePool;
use Magento\Framework\Filesystem\DriverPool;
use Psr\Log\LoggerInterface;

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

0 comments on commit ef616ce

Please sign in to comment.