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

feat: improve error handling #1214

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

Nikzz3
Copy link

@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 <[email protected]>
Signed-off-by: Todd Baert <[email protected]>
Signed-off-by: Nick Zimmermann <[email protected]>
…pen-feature#1215)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Nick Zimmermann <[email protected]>
Signed-off-by: Todd Baert <[email protected]>
Signed-off-by: Nick Zimmermann <[email protected]>
…pen-feature#1217)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Nick Zimmermann <[email protected]>
Signed-off-by: christian.lutnik <[email protected]>
Signed-off-by: Nick Zimmermann <[email protected]>
Signed-off-by: Simon Schrottner <[email protected]>
Signed-off-by: Nick Zimmermann <[email protected]>
…pen-feature#1221)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Nick Zimmermann <[email protected]>
…ure#1218)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Nick Zimmermann <[email protected]>
…pen-feature#1198)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Nick Zimmermann <[email protected]>
…open-feature#1223)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Nick Zimmermann <[email protected]>
Signed-off-by: Nick Zimmermann <[email protected]>
@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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants