Skip to content

Commit

Permalink
Update update-users.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vsoch committed May 28, 2023
1 parent edb9c5c commit d77aad7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/update-users.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ def get_org_users(orgs):
continue
res = requests.get(f"https://api.github.com/orgs/{org}/members")
if res.status_code != 200:
sys.exit(f"{res.status_code}: {res.reason}")
print(f"{org} {res.status_code}: {res.reason}")
continue
users += [x["login"] for x in res.json()]
return users

Expand Down

0 comments on commit d77aad7

Please sign in to comment.