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 proper apollo errors #341

Merged
merged 2 commits into from
May 21, 2020
Merged

add proper apollo errors #341

merged 2 commits into from
May 21, 2020

Conversation

yingwang-us
Copy link
Contributor

Apollo server wraps exceptions to INTERNAL_SERVER_ERROR. The PR improve some of the exceptions to proper ApolloErrors, so that the error code are properly rendered.

@yingwang-us yingwang-us merged commit 581b8bf into master May 21, 2020
@yingwang-us yingwang-us deleted the improve_error_handling branch May 21, 2020 15:28
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.

2 participants