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

Can we provide a better user experience for errors in macros? #624

Closed
Tracked by #1489
joelanman opened this issue Oct 30, 2018 · 0 comments
Closed
Tracked by #1489

Can we provide a better user experience for errors in macros? #624

joelanman opened this issue Oct 30, 2018 · 0 comments

Comments

@joelanman
Copy link
Contributor

If we start recommending macros over html for prototyping, one downside is that small mistakes in macros will crash the kit and give a very technical error message, for example:

(/Users/joelanman/projects/govuk-prototype-kit/docs/views/tutorials-and-examples.html) [Line 10, Column 6] parseAggregate: expected comma after expression

whereas small mistakes in html will just mean rendering errors.

Can we improve this situation for users? For example by detecting these errors and providing a more useful and less daunting message

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

6 participants