mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 23:09:08 +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:
parent
4ee40aeefd
commit
a915fee5f3
Notes:
sideshowbarker
2024-07-17 07:25:39 +09:00
Author: https://github.com/awesomekling
Commit: a915fee5f3
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue