Skip to content

Conversation

@rjernst
Copy link
Member

@rjernst rjernst commented Jun 27, 2025

There are only a handful of relevant 5xx http error codes. Yet distinguishing errors can be important for debugging large numbers of errors. This commit adds a new X-Elasticsearch-Exception response header to 5xx error responses which contains the class name of the Java exception.

There are only a handful of relevant 5xx http error codes. Yet
distinguishing errors can be important for debugging large numbers of
errors. This commit adds a new `X-Elasticsearch-Exception` response
header to 5xx error responses which contains the class name of the Java
exception.
@rjernst rjernst added :Core/Infra/Core Core issues without another label >refactoring labels Jun 27, 2025
@rjernst rjernst requested a review from DaveCTurner June 27, 2025 15:27
@elasticsearchmachine elasticsearchmachine added Team:Core/Infra Meta label for core/infra team v9.2.0 labels Jun 27, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rjernst rjernst enabled auto-merge (squash) June 27, 2025 15:30
@rjernst
Copy link
Member Author

rjernst commented Jul 2, 2025

@elasticmachine update branch

@rjernst rjernst merged commit be63963 into elastic:main Jul 3, 2025
32 checks passed
@rjernst rjernst deleted the exception_type_header branch July 3, 2025 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Core Core issues without another label >refactoring Team:Core/Infra Meta label for core/infra team v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants