newrelic / nr1-graphiql-notebook

NR1 Graphiql Notebook allows you to explore New Relic data via our GraphQL API and share notebooks with colleagues.
https://discuss.newrelic.com/t/graphiql-notebook-nerdpack/82933
Apache License 2.0
9 stars 9 forks source link

Errors should be shown #7

Closed mattbaker closed 5 years ago

mattbaker commented 5 years ago

Right now if the gql query comes back with an error we just fail to render, the only way to see what went wrong is literally looking at the response in the network tab.

We just need to detect errors and spit them out so they're visible, it doesn't need to be fancy.