Skip to content

Error handling if status patching fails #2751

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
shawkins opened this issue Apr 3, 2025 · 1 comment · Fixed by #2752
Closed

Error handling if status patching fails #2751

shawkins opened this issue Apr 3, 2025 · 1 comment · Fixed by #2752

Comments

@shawkins
Copy link
Collaborator

shawkins commented Apr 3, 2025

Is your feature request related to a problem? Please describe.
If a controller has custom error handling that attempts a status patch, a failure will cause the original exception and retry handling to be lost.

Describe the solution you'd like
Catch the patching error.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

shawkins added a commit to shawkins/java-operator-sdk that referenced this issue Apr 3, 2025
closes: operator-framework#2751

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
@csviri
Copy link
Collaborator

csviri commented Apr 4, 2025

see dicussion here: #2752 (comment)

csviri pushed a commit that referenced this issue Apr 4, 2025
closes: #2751

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants