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

Show a helpful HTML error message when there are errors #455

Open
frankieroberto opened this issue Jan 26, 2025 · 0 comments
Open

Show a helpful HTML error message when there are errors #455

frankieroberto opened this issue Jan 26, 2025 · 0 comments
Labels
type: enhancement 💡 New feature or request

Comments

@frankieroberto
Copy link
Contributor

frankieroberto commented Jan 26, 2025

When there are syntax errors, it would be better to show a helpful error message as an HTML page in the browser rather than just relying on errors being reported in Terminal.

Errors could occur in:

  • templates
  • routing code (JavaScript)
  • SASS compilation (CSS)
  • other JavaScript code, eg custom filters
  • session data defaults (JSON)

Ideally the error message would show the relevant code and highlight the lines where the error likely occurred, although this may not always be 100% accurate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement 💡 New feature or request
Development

No branches or pull requests

1 participant