Skip to content

Commit

Permalink
Log bootstrap errors with BufferingLogger
Browse files Browse the repository at this point in the history
  • Loading branch information
mmenozzi authored Feb 1, 2023
1 parent 972b9e0 commit faff678
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
umask(0000);

Debug::enable();
} else {
ErrorHandler::register(new ErrorHandler(new BufferingLogger(), false));
}

$trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? $_ENV['TRUSTED_PROXIES'] ?? false;
Expand Down

0 comments on commit faff678

Please sign in to comment.