Commit 544fab2
committed
Catch
The REST API (can?) use `http.client` via `request` which may fail at
that level with a `HTTPException`.
E.g.:
> http.client.RemoteDisconnected: Remote end closed connection without response
Catch that to report better errors.HTTPException when doing GitHub API request1 parent fbd88e6 commit 544fab2
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
281 | 282 | | |
282 | 283 | | |
283 | 284 | | |
284 | | - | |
| 285 | + | |
285 | 286 | | |
286 | 287 | | |
287 | 288 | | |
| |||
0 commit comments