Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chentsulin committed Jan 30, 2018
1 parent da1ad29 commit 0128042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ During development, it's useful to get more information from errors, such as
stack traces. Providing a function to `formatError` enables this:

```js
formatError: error => ({
formatError: (error, ctx) => ({
message: error.message,
locations: error.locations,
stack: error.stack,
Expand Down

0 comments on commit 0128042

Please sign in to comment.