log.info in defaultErrorFormatter #983
Answered
by
mcollina
PieterJanVdb
asked this question in
Q&A
-
I was wondering what the reasoning was for the following change (a115d81#diff-0af7067b49efcaf7dae9a3707f2e79638b336e72780d2b834e007f80ef9a5fa0): Is it because a GraphQL error could represent anything from a server error to a client validation error and log.info is the lowest common denominator log level wise? |
Beta Was this translation helpful? Give feedback.
Answered by
mcollina
Apr 22, 2023
Replies: 1 comment 2 replies
-
Because an error in GraphQL will return a 200 anyway. It's an expected response and not an error situation for the server. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
PieterJanVdb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Because an error in GraphQL will return a 200 anyway. It's an expected response and not an error situation for the server.