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

feat: more readable error printing #979

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat: more readable error printing #979

wants to merge 1 commit into from

Conversation

avik-pal
Copy link
Collaborator

Before

image

After

image

@avik-pal avik-pal requested review from giordano and wsmoses March 20, 2025 15:20
@giordano
Copy link
Member

Honestly, in my case the only solution would have been to redirect the output to file and read it carefully, in which case the current version is probably better (colours would most likely be lost when redirecting to a file). My problem is that I got a huge error message (almost 2k lines in tmux) in an interactive session, which was completely unmanageable in any case.

@avik-pal
Copy link
Collaborator Author

We could have a threshold and above that dump a diff file. For even relatively small problems with 5-10 parameters I have found the current printing to not be very useful

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