-
Notifications
You must be signed in to change notification settings - Fork 456
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(cli): error message for non-existent tf cloud orgs #3207
Conversation
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 a ton! That error message will be so much better!
Co-authored-by: Daniel Schmidt <[email protected]>
Happy to help! |
Hey, thanks for your help! I moved this into a different PR so that I could run prettier :) |
I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Related issue
Fixes #2982
Description
If a user is not actively part of an organization in Terraform Cloud then the CLI will error out with a stacktrace that obfuscates the problem. This bug fix returns a happy error message instead.
A user not being part of an organization may be common if they're going through tutorials.
Checklist