Skip to content

Avoid wrapping MVC routing exceptions in IllegalStateException - #16

Open
dmyroniuk wants to merge 1 commit into
developfrom
global-error-controller
Open

Avoid wrapping MVC routing exceptions in IllegalStateException#16
dmyroniuk wants to merge 1 commit into
developfrom
global-error-controller

Conversation

@dmyroniuk

Copy link
Copy Markdown
Contributor

BroadleafCommerce/MicroPM#7458

  • Avoid wrapping MVC routing exceptions in IllegalStateException to better resolve the root cause of the error in com.broadleafcommerce.common.error.validation.web.BroadleafApiMvcErrorController.

  • Example: If the HttpRequestMethodNotSupportedException is thrown, we received a 500 error instead of 405

…ter resolve the root cause of the error in com.broadleafcommerce.common.error.validation.web.BroadleafApiMvcErrorController. (BroadleafCommerce/MicroPM#7458)

* Example: If the HttpRequestMethodNotSupportedException is thrown, we received a 500 error instead of 405
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant