markmichon / gatsby-source-github-gql

Gatsby source plugin to pull in data from the GitHub graphql API
1 stars 0 forks source link

Add error handling for invalid queries #3

Open markmichon opened 6 years ago

markmichon commented 6 years ago

Currently the async/await setup doesn't have try/catches to handle an error response from the API.