Skip to content

Conversation

Nikzz3
Copy link
Contributor

@Nikzz3 Nikzz3 commented Feb 12, 2025

Improve error handling

This PR improves error handling for 400 and 500 error codes. It returns the message to the user from the response payload.

How to test

When the providers receives an error (400 or 500), the provider must show the message of the response payload.

Nick Zimmermann and others added 12 commits February 17, 2025 11:37
Signed-off-by: Nick Zimmermann <Nick.Zimmermann@swisscom.com>
Signed-off-by: Todd Baert <todd.baert@dynatrace.com> Signed-off-by: Nick Zimmermann <Nick.Zimmermann@swisscom.com>
…pen-feature#1215) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Nick Zimmermann <Nick.Zimmermann@swisscom.com>
Signed-off-by: Todd Baert <todd.baert@dynatrace.com> Signed-off-by: Nick Zimmermann <Nick.Zimmermann@swisscom.com>
…pen-feature#1217) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Nick Zimmermann <Nick.Zimmermann@swisscom.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com> Signed-off-by: Nick Zimmermann <Nick.Zimmermann@swisscom.com>
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com> Signed-off-by: Nick Zimmermann <Nick.Zimmermann@swisscom.com>
…pen-feature#1221) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Nick Zimmermann <Nick.Zimmermann@swisscom.com>
…ure#1218) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Nick Zimmermann <Nick.Zimmermann@swisscom.com>
…pen-feature#1198) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Nick Zimmermann <Nick.Zimmermann@swisscom.com>
…open-feature#1223) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Nick Zimmermann <Nick.Zimmermann@swisscom.com>
Signed-off-by: Nick Zimmermann <Nick.Zimmermann@swisscom.com>
@Nikzz3 Nikzz3 force-pushed the feat/improve-error-handling branch from c09cf24 to 503fbbc Compare February 17, 2025 10:37
Copy link
Member

@beeme1mr beeme1mr left a comment

Choose a reason for hiding this comment

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

@thomaspoignant any concerns about this?

Copy link
Member

@toddbaert toddbaert left a comment

Choose a reason for hiding this comment

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

Makes sense to me.

cc @thomaspoignant (but I'm confident this is right so I'll merge in a few days unless I hear otherwise)

@beeme1mr beeme1mr merged commit fd32898 into open-feature:main Mar 8, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

8 participants