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: correct printing of errors #6335

Merged
merged 2 commits into from
Jan 14, 2025
Merged

fix: correct printing of errors #6335

merged 2 commits into from
Jan 14, 2025

Conversation

oz123
Copy link
Contributor

@oz123 oz123 commented Jan 9, 2025

Attempt to fix #6326

@oz123 oz123 requested a review from matteius January 9, 2025 22:39
@oz123 oz123 self-assigned this Jan 9, 2025
@oz123
Copy link
Contributor Author

oz123 commented Jan 9, 2025

@matteius linting issues should be fixed when #6334 is merged. I can rebase on it.

Instead of printing err (which is a handle to rich formatter)
we print errors - which are the real output of the failed command.

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
The resolver does not have any output, and it
just printed a weired "False" which was hard to
grasp.

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
@oz123 oz123 merged commit 94c9658 into main Jan 14, 2025
22 checks passed
@oz123 oz123 deleted the fix-6326 branch January 14, 2025 22: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.

Better error message when a package is not found
2 participants