-
Notifications
You must be signed in to change notification settings - Fork 40
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
CmdError error messages should provide more information #4428
Conversation
CI failed because I neglected the non illumos cfg sections. Is there a good way to make sure one doesn't miss these in the future before CI runs? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! These feel like kinda tedious changes, but better error messages are a huge 👍 for everybody.
In theory one can do something like |
Speaking as someone who hit exactly this today and only managed to resolve it quickly because I was chatting to @papertigers - most definitely! |
And because we were speaking I realized that |
Sorry for all the commit noise on this. I used a macro to fix up all of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great - thanks!
With the latest patchset things still look good:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for jumping on this so quickly! Will be so nice to have when someone hits this again.
Fixes: #4419
This commit is a little invasive at various call sites so I would appreciate some feedback.
Before this commit you would see:
After this commit we now see: