Skip to content

Commit

Permalink
Log when Magento is in maintenance mode #16840
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirZaets authored Jul 19, 2018
1 parent 19c3f3a commit 8d57d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/Magento/Framework/App/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public function run(AppInterface $application)
\Magento\Framework\Profiler::stop('magento');
} catch (\Exception $e) {
\Magento\Framework\Profiler::stop('magento');
$this->objectManager->get(LoggerInterface::class)->error($e);
$this->objectManager->get(LoggerInterface::class)->error($e->getMessage());
if (!$application->catchException($this, $e)) {
throw $e;
}
Expand Down

0 comments on commit 8d57d04

Please sign in to comment.