Skip to content

Masked errors on graphql API since Yoga #8044

Description

@Moumouls

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

Activity

  1. added
    type:bugImpaired feature or lacking behavior that is likely assumed
    on Jun 14, 2022
  2. parse-github-assistant commented on Jun 14, 2022

    @parse-github-assistant

    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.
  3. mtrezza commented on Jun 17, 2022

    @mtrezza
    Member

    Closing via #8045

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions