Skip to content

Commit

Permalink
Merge pull request #253 from permitio/oded/per-9253-add-docs-for-node…
Browse files Browse the repository at this point in the history
…-configuration

Add throw on error config to node
  • Loading branch information
obsd authored Feb 28, 2024
2 parents 5bcc5ac + f402ac4 commit 5de84e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/getting-started/_quickstart-parts/_quickstart_nodejs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ const permit = new Permit({
// log: {
// level: "debug",
// },
// The SDK returns false if you get a timeout / network error
// if you want it to throw an error instead, and let you handle this, uncomment this:
// throwOnError: true,
});
```

Expand Down

0 comments on commit 5de84e5

Please sign in to comment.