Skip to content

Commit a39f4f3

Browse files
authored
[Runtime] Fix passing $debug parameter to ErrorHandler
1 parent a57252f commit a39f4f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Runtime/Internal/SymfonyErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static function register(bool $debug): void
2929
if (class_exists(ErrorHandler::class)) {
3030
DebugClassLoader::enable();
3131
restore_error_handler();
32-
ErrorHandler::register(new ErrorHandler(new BufferingLogger(), true));
32+
ErrorHandler::register(new ErrorHandler(new BufferingLogger(), $debug));
3333
}
3434
}
3535
}

0 commit comments

Comments
 (0)