Skip to content

Commit

Permalink
try to catch all GH exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
leofang committed Jan 26, 2025
1 parent 08b575f commit cd567c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda_forge_admin_requests/feedstock_outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def _add_feedstock_output(
repo = gh.get_repo("conda-forge/feedstock-outputs")
try:
contents = repo.get_contents(_get_sharded_path(pkg_name))
except github.UnknownObjectException:
except (github.UnknownObjectException, github.GithubException):
contents = None

if contents is None:
Expand Down

0 comments on commit cd567c0

Please sign in to comment.