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

Add message to exception when enum conversion fails #5713

Merged
merged 2 commits into from
Jan 30, 2023

Conversation

jorrit
Copy link
Contributor

@jorrit jorrit commented Jan 24, 2023

I added an enum to my schema and forgot to update the Strawberry Shake schema. I got an unspecified GraphQLClientException exception, and only the strack trace told me what was wrong.

This PR adds a message to the thrown exceptions.

@CLAassistant
Copy link

CLAassistant commented Jan 24, 2023

CLA assistant check
All committers have signed the CLA.

@michaelstaib
Copy link
Member

Thank you for your help!

@michaelstaib michaelstaib merged commit a7d1279 into ChilliCream:main Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants