Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make logError() in AbstractErrorWebExceptionHandler overrideable #17863

Closed
wants to merge 2 commits into from

Conversation

peterjurkovic
Copy link
Contributor

A subclass extending of AbstractErrorWebExceptionHandler can't override logError(). We would like to change logging behavior in a subclass, but unfortunately is not quite easy, we would have to duplicate a lot of useful code in that class.

Can we please make AbstractErrorWebExceptionHandler.logError(..) protected? Unless there is a serious reason to make it private.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Aug 14, 2019
@wilkinsona
Copy link
Member

This is related to #12414.

@philwebb philwebb added for: team-attention An issue we'd like other members of the team to review type: enhancement A general enhancement and removed for: team-attention An issue we'd like other members of the team to review status: waiting-for-triage An issue we've not yet triaged labels Aug 16, 2019
@philwebb philwebb added this to the 2.2.x milestone Aug 21, 2019
@wilkinsona wilkinsona self-assigned this Sep 5, 2019
@wilkinsona wilkinsona modified the milestones: 2.2.x, 2.2.0.M6 Sep 5, 2019
@wilkinsona wilkinsona closed this in 52479ee Sep 5, 2019
@wilkinsona
Copy link
Member

Thank you very much for making your first contribution to Spring Boot, @peterjurkovic. I also pushed a small polishing commit to add some javadoc and restore the original method order so that they're ordered by use rather than visibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants