Skip to content

Conversation

@alanpoulain
Copy link
Member

No description provided.

@alanpoulain alanpoulain force-pushed the graphql-exception-formatting branch from 7436fc9 to 58957e3 Compare November 13, 2019 09:51
For more information, please [refer to the documentation in graphql-php](https://webonyx.github.io/graphql-php/error-handling/#default-error-formatting).

In `prod` mode, the displayed message will be a generic one, excepted for a `RuntimeException` (and all exceptions inherited from it) for which it will be its actual message.
This behavior is different from what is described in the [graphql-php documentation](https://webonyx.github.io/graphql-php/error-handling).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This behavior is different from what is described in the [graphql-php documentation](https://webonyx.github.io/graphql-php/error-handling).
This behavior is different from the one described in the [graphql-php documentation](https://webonyx.github.io/graphql-php/error-handling).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it better?

Co-Authored-By: Antoine Bluchet <[email protected]>
@alanpoulain alanpoulain merged commit 25e31b1 into api-platform:master Nov 17, 2019
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