Skip to content

Commit

Permalink
Merge pull request #311 from reinoldus/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
kieusonlam committed Feb 25, 2020
2 parents 4abaa7c + 40d3252 commit f262459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -129,9 +129,9 @@ export default (isLoading, countModifier, nuxtContext) => {

```js
// plugins/apollo-error-handler.js
export default (error, nuxtContext) => {
export default ({ graphQLErrors, networkError, operation, forward }, nuxtContext) => {
console.log('Global error handler')
console.error(error)
console.log(graphQLErrors, networkError, operation, forward)
}

```
Expand Down

0 comments on commit f262459

Please sign in to comment.