Replies: 1 comment 1 reply
-
Error masking is enabled by default, and if an unexpected error is masked, it is printed to the console. Other than that, any messages are printed to the console until the logger is changed to |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm uncertain whether this is worth a discussion, but I find it unusual that logging is enabled by default. In my opinion, it should be disabled unless specified.
https://github.com/dotansimha/graphql-yoga/blob/bc743aa23a89380d1ecd1bdd21247591aca48726/packages/graphql-yoga/src/server.ts#L243-L251
Beta Was this translation helpful? Give feedback.
All reactions