Skip to content

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

Open
@frankieroberto

Description

@frankieroberto

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions