Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve exception message when the code for a value could not be generated #29118

Closed
snicoll opened this issue Sep 9, 2022 · 0 comments
Closed
Assignees
Labels
theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement
Milestone

Comments

@snicoll
Copy link
Member

snicoll commented Sep 9, 2022

As seen in #29075, unexpected failure while generating the code for a value is missing context. Looking at BeanDefinitionPropertyValueCodeGenerator, we could build a nice context using nested cause to show exactly what the original value was.

@snicoll snicoll added type: enhancement A general enhancement theme: aot An issue related to Ahead-of-time processing labels Sep 9, 2022
@snicoll snicoll added this to the 6.0.0-M6 milestone Sep 9, 2022
@snicoll snicoll self-assigned this Sep 9, 2022
@snicoll snicoll closed this as completed in 2d4f308 Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant