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

More specific error messages for validation errors #371

Open
mcandre opened this issue Mar 31, 2021 · 0 comments
Open

More specific error messages for validation errors #371

mcandre opened this issue Mar 31, 2021 · 0 comments

Comments

@mcandre
Copy link

mcandre commented Mar 31, 2021

Describe the bug

When the user omits a required environment variable like NG_DEPLOY_AWS_REGION, then ng deploy reports a generic error message with no indication that the specific parameter is invalid.

Some environment variables like NG_DEPLOY_AWS_ACCESS_KEY_ID trigger messages about authentication problems. But the exact unbound environment variable name continues to be hidden from the poor user, who may not know what action to take to resolve the error.

To Reproduce
Steps to reproduce the behavior:

  1. ng deploy

Expected behavior

Either a full list of invalid environment variables, or at minimum the first environment variable to fail validation, is shown to the user.

Desktop (please complete the following information):

  • OS: macOS Catalina
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

No branches or pull requests

1 participant