Skip to content

Conversation

@morokosi
Copy link

@morokosi morokosi commented Dec 6, 2025

Currently, the doExecute method in spring−security−kerberos−client always wraps exceptions in a RestClientException. This unnecessarily complicates exception handling for HTTP status errors and other exceptions.

This change modifies the behavior to avoid wrapping an exception if it is already an instance of RestClientException.

This aligns the exception handling with other RestTemplate implementations, making it more consistent and easier to manage.

Signed-off-by: Yohei Kishimoto <morokosi@users.noreply.github.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants