Add metadata to configuration exceptions #27728
Labels
:Data Management/Ingest Node
Execution or management of Ingest Pipelines including GeoIP
>enhancement
help wanted
adoptme
... instead of using headers.
Similarly to #27724, there is some exception metadata that is included in headers rather than using
addMetadata()
, introduced in #19318.elasticsearch/core/src/main/java/org/elasticsearch/ingest/ConfigurationUtils.java
Lines 346 to 354 in 2e36f19
Under the umbrella of #27672, it'd be preferable to use
addMetadata()
to reduce the number of ways that clients have to handle errors./cc @simonw and @talevy for further opinions.
The text was updated successfully, but these errors were encountered: