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

Avoid raising fatal exception if custom command under a folder breaks #13365

Merged

Conversation

AbrilRBS
Copy link
Member

@AbrilRBS AbrilRBS commented Mar 7, 2023

Changelog: Bugfix: Avoid raising fatal exceptions for malformed custom commands.
Docs: Omit

Commands under a prefix were not being guarded against fatal exceptions, so an error in those meant you needed to remove the file manually to be able to work with Conan again

@AbrilRBS AbrilRBS requested a review from memsharded March 7, 2023 15:00
Copy link
Member

@memsharded memsharded left a comment

Choose a reason for hiding this comment

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

Maybe add a unit test?

@memsharded memsharded added this to the 2.0.2 milestone Mar 7, 2023
@AbrilRBS
Copy link
Member Author

AbrilRBS commented Mar 7, 2023

That's the idea yes :)

@AbrilRBS
Copy link
Member Author

AbrilRBS commented Mar 7, 2023

Done

@memsharded memsharded merged commit fc8226e into conan-io:release/2.0 Mar 7, 2023
@AbrilRBS AbrilRBS deleted the rr/fix-exception-broken-command branch March 8, 2023 22:48
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