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

Remove CatchGroup class #610

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Remove CatchGroup class #610

merged 1 commit into from
Jul 15, 2024

Conversation

PaulFarault
Copy link
Contributor

Which issue(s) this PR fixes

Fixes None

Additional comments

The CatchGroup class is currently intercepting all exceptions, removing their stack trace. However, it shouldn't intercept errors coming from the core lib. Each command should properly catch its potential errors and eventually manage it through [ClickException](https://click.palletsprojects.com/en/7.x/api/#click.ClickException).

Agreements

@PaulFarault PaulFarault requested a review from rpignolet July 15, 2024 16:13
@PaulFarault PaulFarault self-assigned this Jul 15, 2024
@PaulFarault PaulFarault merged commit f7c6e1a into master Jul 15, 2024
5 checks passed
@PaulFarault PaulFarault deleted the chore/remove-catchgroup branch July 15, 2024 19:14
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