Skip to content

Css errors are noisy even with SilentCssErrorHandler enabled #378

Description

@skyhirider

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

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions