mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
LibWeb: Only log HTML parser errors when HTML_PARSER_DEBUG is enabled
At this point, the parser is reliable enough that we don't need to spam the debug log about minor parsing issues on every websites.
This commit is contained in:
@@ -37,7 +37,7 @@ namespace Web::HTML {
|
||||
|
||||
static inline void log_parse_error(SourceLocation const& location = SourceLocation::current())
|
||||
{
|
||||
dbgln("Parse error! {}", location);
|
||||
dbgln_if(HTML_PARSER_DEBUG, "Parse error! {}", location);
|
||||
}
|
||||
|
||||
static Vector<FlyString> s_quirks_public_ids = {
|
||||
|
||||
Reference in New Issue
Block a user