-
-
Notifications
You must be signed in to change notification settings - Fork 636
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
Improve error message when an option is valid, but is being applied to a subsystem/goal, rather than globally #9627
Comments
Try out
Another example: -- With the original issue, yes, unfortunately, we realized a few days ago that |
OK passing in the param in the front works, good to know. That issue is a bit subtle but I get why this would happen |
FYI we took a first pass at improving the error message in #9795. Your message would now read:
This does still have the same major issue of showing options that don't make sense - I hope to address that in a followup this week or next. |
Fixed by #10872. Thanks for reporting this @rtpg! We released 2.0.0rc0 yesterday, and it makes lots of big improvements. Check out https://www.pantsbuild.org/docs/how-to-upgrade-pants-2-0 for an upgrade guide, and https://www.pantsbuild.org/docs/community for how to join our Slack. We'd love to help you out with upgrading and trying it out. |
My
pants.toml
I wanted to try out the
backends
goal, but hit a failure. Then I wanted to see the actual stacktrace and ended up with the following stacktrace about... not being able to see the stacktraceThe text was updated successfully, but these errors were encountered: