See https://github.com/spring-projects/spring-boot/issues/37269

Comment From: mhalbritter

Got something here: https://github.com/mhalbritter/spring-boot/tree/mh/38619-add-configuration-option-for-path-inclusion-in-defaulterrorattributes