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

Smarter errors for 2.0 deployments now.json #2236

Closed
mcsdevv opened this issue Apr 26, 2019 · 1 comment
Closed

Smarter errors for 2.0 deployments now.json #2236

mcsdevv opened this issue Apr 26, 2019 · 1 comment

Comments

@mcsdevv
Copy link
Member

mcsdevv commented Apr 26, 2019

Currently, deployments get failed with a generic error, for example:

'The property aliases is not allowed in now.json when using Now 2.0 – please remove it.'

It would be better if the error messages accounted for close matches to correct config settings and gave the user an actionable message such as:

'The property aliases is not allowed in now.json - did you mean to use alias instead?'

This suggested format also adds a link to the now.json configuration documentation as well as the recommend property, removing barriers for users.

@leo
Copy link
Contributor

leo commented May 30, 2019

Fixed!

@leo leo closed this as completed May 30, 2019
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

2 participants