-
-
Notifications
You must be signed in to change notification settings - Fork 11
fix: improve error messages #150
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
Conversation
| `Not authenticated for host ${ansi.blue(opts.apiUrl.hostname)} and project ${ansi.blue(opts.projectId)}.` | ||
| ); | ||
| info( | ||
| `You must either provide api key via --api-key or login via \`tolgee login\` (for correct api url and project)` |
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.
| `You must either provide api key via --api-key or login via \`tolgee login\` (for correct api url and project)` | |
| `You must either provide api key via --api-key or login via \`tolgee login\` for specific API URL and project` |
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.
The CLI should also have a command which prints out for which projects (with their names) is the user currently logged in. I would also print this list when this error is printed out.
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.
Ok, done
5e118a9 to
52f17c6
Compare
|
🎉 This PR is included in version 2.8.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No description provided.