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

Update error JSON handling #3654

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

Update error JSON handling #3654

wants to merge 4 commits into from

Conversation

jdalrymple
Copy link
Owner

@jdalrymple jdalrymple commented Nov 2, 2024

Ensure the both error and message key terms are used to populate and raise a more targeted error.

fixes #3646

Fix weird handling of output json. .error and .message are inferred
@jdalrymple jdalrymple added type:bug Changes fix a minor bug and removed type:enhancement labels Nov 2, 2024
@jdalrymple
Copy link
Owner Author

🙃 somehow managed to hit every typing error under the sun here when trying to add tests for this functionality. Ill try and sort this in a smaller repo and follow up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Changes fix a minor bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitbeakerRequestError.cause.description has wrong type
1 participant