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.
ErrorHandler
1 parent a57252f commit a39f4f3Copy full SHA for a39f4f3
src/Symfony/Component/Runtime/Internal/SymfonyErrorHandler.php
@@ -29,7 +29,7 @@ public static function register(bool $debug): void
29
if (class_exists(ErrorHandler::class)) {
30
DebugClassLoader::enable();
31
restore_error_handler();
32
- ErrorHandler::register(new ErrorHandler(new BufferingLogger(), true));
+ ErrorHandler::register(new ErrorHandler(new BufferingLogger(), $debug));
33
}
34
35
0 commit comments