ErrorAttributeOptions.excluding throws IllegalArgumentException if includes is empty #24230
As I've already indicated we can merge the PR in the appropriate branches as part of reviewing the PR.
Ideally you should have built the project locally before submitting the PR, which would have revealed the build failure. We can also take care of that as part of reviewing.
Please don't open a new PR as it'd create unnecessary noise. FYI, pushing additional changes to your existing branch will update this PR.
@wanderleisouza thank you for making your first contribution to Spring Boot. I've polished it and applied to both
I've reworked the tests in particular as the assertions were not running properly. It can be tricky with assertJ but the assertion should run "outside" of the main thing to assert. So