I believe there was a regression introduced in 2.52 that is not present in 2.51 - some parsing errors are thrown and show even when silenced handlers are enabled.
On 2.51 the log is silent, on 2.52 I see exceptions in the error log which is really messy. I don't want to disable error messages completely but silencing the webclient has no effect.
| catch (final Exception e) { | |
| if (LOG.isErrorEnabled()) { | |
| LOG.error("Error while parsing style value '" + styleAttribute + "'", e); | |
| } | |
| } |
Link to git blame https://github.com/HtmlUnit/htmlunit/blame/master/src/main/java/com/gargoylesoftware/htmlunit/html/DomElement.java#L284