How to display GraphQL API errors in Nexus Logs #1182
-
When a GraphQL error gets returned from the API, I am able to see it in my web app's browser console / devtools, but I do not see it logged out with the same level of details in the server logs (printed to stdout). Is there a way to allow GraphQLErrors to show up in the server logs with the same error info showing up in the browser? Browser network tab infoTerminal logs for server |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
+1, same question;) |
Beta Was this translation helpful? Give feedback.
-
Hey folks 👋, this was a bug on our side. We've just created a PR that addresses that issue here #1193. We'd love feedback on the rendering of these errors. Whether you feel like you can easily parse them visually etc I'll mark the question as answered for now, the TLDR is that you'll be able to see the graphql api errors as soon as we merge the PR and it gets released 🙌 |
Beta Was this translation helpful? Give feedback.
Hey folks 👋, this was a bug on our side. We've just created a PR that addresses that issue here #1193. We'd love feedback on the rendering of these errors. Whether you feel like you can easily parse them visually etc
I'll mark the question as answered for now, the TLDR is that you'll be able to see the graphql api errors as soon as we merge the PR and it gets released 🙌