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

Add missing rethrows in conditional exception handlers #6648

Merged
merged 1 commit into from
Jun 13, 2022

Conversation

andersk
Copy link
Contributor

@andersk andersk commented Jun 10, 2022

If we’re only interested in some exceptions of a given type, we need to rethrow the rest of them instead of swallowing them and continuing execution.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This was referenced Jun 10, 2022
@edolstra edolstra merged commit 95eccfd into NixOS:master Jun 13, 2022
@andersk andersk deleted the missing-rethrow branch June 13, 2022 17:13
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