-
Notifications
You must be signed in to change notification settings - Fork 48
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
base: main
Are you sure you want to change the base?
Conversation
5456729
to
e9405c1
Compare
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]>
c09cf24
to
503fbbc
Compare
There was a problem hiding this 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?
There was a problem hiding this 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)
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.