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

feature(retrofit): Add exception handler to service factory #1185

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

xibz
Copy link
Contributor

@xibz xibz commented May 30, 2024

This commit adds the SpinnakerRetrofitErrorHandler to service factories which allows for clients that rely on service factories to properly have RetrofitErrors be converted to some Spinnaker*Exception.

This PR needs to remain as a draft until gate has fully changed its exception handling to support non-RetrofitError exceptions

@dbyron-sf
Copy link
Contributor

spinnaker/gate#1842 is the corresponding gate PR.

@dbyron-sf
Copy link
Contributor

@Mergifyio update

Copy link
Contributor

mergify bot commented Nov 4, 2024

update

❌ Mergify doesn't have permission to update

For security reasons, Mergify can't update this pull request. Try updating locally.
GitHub response: refusing to allow a GitHub App to create or update workflow .github/workflows/build.yml without workflows permission

This commit adds the SpinnakerRetrofitErrorHandler to service factories
which allows for clients that rely on service factories to properly have
RetrofitErrors be converted to some Spinnaker*Exception.

Signed-off-by: benjamin-j-powell <[email protected]>
@dbyron-sf dbyron-sf marked this pull request as ready for review November 5, 2024 15:35
@dbyron-sf dbyron-sf added the ready to merge Approved and ready for merge label Nov 5, 2024
@mergify mergify bot added the auto merged label Nov 5, 2024
@mergify mergify bot merged commit dbbc628 into spinnaker:master Nov 5, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merged ready to merge Approved and ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants