Skip to content

Masked errors on graphql API since Yoga #8044

Closed
@Moumouls

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

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