Beapi-io / spring-boot-starter-beapi

Springboot 'convention over config' starter for API Automation
Other
1 stars 1 forks source link

MINOR ISSUE: add error cacthing for fallback RequestMappingHandlerMapping #98

Closed orubel closed 1 year ago

orubel commented 1 year ago

badly formatted URI's are falling to RequestMappingHandlerMapping where (if not found) throw a long error: java.lang.IllegalStateException: Cannot call sendError() after the response has been committed

we need to build functionality to at LEAST catch this error so logs don't fill due to badly formatted URI's

orubel commented 1 year ago

wasn't requestMappingHandlerMapping. Merely a missing mapping variable for SimpleHandlerMapping. Fixed, Tested. Closing.