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

Fix NoSuchKegFromTapError handling #18334

Merged
merged 1 commit into from
Sep 16, 2024
Merged

Fix NoSuchKegFromTapError handling #18334

merged 1 commit into from
Sep 16, 2024

Conversation

Bo98
Copy link
Member

@Bo98 Bo98 commented Sep 16, 2024

We had several places where we had rescue NoSuchKegError that was not catching the new NoSuchKegFromTapError.

We could either add NoSuchKegFromTapError or collapse the two into one. I chose the latter as it's the safer option for existing code compatibility.

Fixes brew uninstall --force being broken for taps: https://github.com/orgs/Homebrew/discussions/5607

@carlocab carlocab enabled auto-merge September 16, 2024 04:51
@carlocab carlocab merged commit 076c4e0 into master Sep 16, 2024
27 checks passed
@carlocab carlocab deleted the NoSuchKegFromTapError branch September 16, 2024 04:59
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.

2 participants