Skip to content

Commit 249bc47

Browse files
committed
raise for status
1 parent e80db2d commit 249bc47

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/all_repos.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ async def list_repos_for_org(org):
106106
f"https://api.github.com/orgs/{org}/repos?per_page=100&page={p}",
107107
headers=headers,
108108
)
109+
response.raise_for_status()
109110
repos = response.json()
110111
for repo in repos:
111112
reps.append((org, repo["name"]))

0 commit comments

Comments
 (0)