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

Masked errors on graphql API since Yoga #8044

Closed
4 tasks done
Moumouls opened this issue Jun 14, 2022 · 2 comments · Fixed by #8045
Closed
4 tasks done

Masked errors on graphql API since Yoga #8044

Moumouls opened this issue Jun 14, 2022 · 2 comments · Fixed by #8045
Labels
type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@Moumouls
Copy link
Member

New Issue Checklist

Issue Description

Error are masked by Yoga GraphQL server.

Steps to reproduce

Throw an error into a custom resolver or custom query

Actual Outcome

Original error converted to "Unexpected Error"

Expected Outcome

To return the original error to the client.

Environment

Server

  • Parse Server version: 5.3.0-alpha.16
  • Operating system: Macos
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): local

Database

  • System (MongoDB or Postgres): mongo
  • Database version: 5.X
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): local

Client

  • SDK (iOS, Android, JavaScript, PHP, Unity, etc): _
  • SDK version: _

Logs

@Moumouls Moumouls added the type:bug Impaired feature or lacking behavior that is likely assumed label Jun 14, 2022
@parse-github-assistant
Copy link

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

@mtrezza
Copy link
Member

mtrezza commented Jun 17, 2022

Closing via #8045

@mtrezza mtrezza closed this as completed Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
2 participants