We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since version 0.240.0, the MaskErrors extension fails to mask errors.
See example script here:
import typing import strawberry from strawberry.extensions import MaskErrors @strawberry.type class Book: title: str author: str def get_books(): raise Exception("Something went wrong") @strawberry.type class Query: books: typing.List[Book] = strawberry.field(resolver=get_books) schema = strawberry.Schema(query=Query, extensions=[MaskErrors(error_message="Internal server error")])
In the previous version it would show Internal server error as the message. Since 0.240.0 it shows this:
Internal server error
{ "data": null, "errors": [ { "message": "Something went wrong", "locations": [ { "line": 2, "column": 3 } ], "path": [ "books" ] } ] }
The text was updated successfully, but these errors were encountered:
I'll check this today! thanks for the report 😊
Sorry, something went wrong.
Fix operation execution
d338b6d
Closes #3625
Thanks!
Successfully merging a pull request may close this issue.
Since version 0.240.0, the MaskErrors extension fails to mask errors.
Describe the Bug
See example script here:
In the previous version it would show
Internal server error
as the message. Since 0.240.0 it shows this:System Information
Additional Context
Upvote & Fund
The text was updated successfully, but these errors were encountered: