Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools/deprecate_guards: Fix error handling #38006

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

phlax
Copy link
Member

@phlax phlax commented Jan 14, 2025

No description provided.

@@ -180,7 +180,7 @@ async def create_issue(self, title: str, body: str, login: str) -> None:
else:
self.log.warning(f"Dry run: not creating issue '{title}' for {login}")
return
except gidgethub.Exception:
except gidgethub.GithubException:
Copy link
Member Author

@phlax phlax Jan 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
except gidgethub.GithubException:
except gidgethub.GitHubException:

argh - if we shift this to toolshed we can test properly

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@phlax phlax force-pushed the tools-guards-exception branch from 2952d08 to 7d7c3ad Compare January 14, 2025 21:51
@phlax phlax enabled auto-merge (squash) January 14, 2025 22:13
@phlax phlax merged commit 435d96b into envoyproxy:main Jan 15, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants