Skip to content

Commit 3d7fa5e

Browse files
authored
docs(README): remove self-referencing comment from Octokit usage example (#335)
1 parent 7e4f2c3 commit 3d7fa5e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ error.request; // { method, url, headers, body }
6666
error.response; // { url, status, headers, data }
6767
```
6868

69-
### Handling
69+
### Usage with Octokit
7070

7171
```js
7272
try {
@@ -76,7 +76,6 @@ try {
7676
// Octokit errors always have a `error.status` property which is the http response code
7777
if (error.status) {
7878
// handle Octokit error
79-
// see https://github.com/octokit/request-error.js
8079
} else {
8180
// handle all other errors
8281
throw error;

0 commit comments

Comments
 (0)