Commit ea6ed04
Fix GraphQL error handling: centralise in request_github_graphql
GraphQL errors come back as HTTP 200 with an "errors" key, bypassing the
status code check. Added a check in request_github_graphql so all callers
get consistent error handling, and removed the now-redundant ad-hoc check
in licences.py.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 0261a3e commit ea6ed04
2 files changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 42 | | |
48 | 43 | | |
49 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
| |||
0 commit comments