Skip to content

Improve the diagnostics in ServletListenerRegistrationBean when servletContext.addListener fails #2197

Closed
@wilkinsona

Description

@wilkinsona

The various embedded containers are rather variable on how informative they are in the message of the exception that's thrown by ServletContext.addServletListener. We could improve the diagnostics by including details of the listener that couldn't be added in a log message or the message of an exception that we throw.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions