Skip to content

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

@snicoll

Description

@snicoll

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.

Metadata

Metadata

Assignees

Labels

theme: aotAn issue related to Ahead-of-time processingtype: enhancementA general enhancement

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions