Actions
Feature #501
closedBetter handling of error upon template rendering
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
Currently the error message when a rendering fails isn't very good and is ugly. We should make it better, especially when spoofing is used.
Updated by Greg Sutcliffe about 8 years ago
- Description updated (diff)
- Status changed from New to Resolved
This is much better now - both the preview from the Host page and the in-editor preview will correctly show errors. Eg I created a template of "<%= nosuchvar%>" and tried to preview it:
There was an error rendering the Basic gPXE bugday template: undefined local variable or method `nosuchvar' for #<#<Class:0x007f8ca1d74e90>:0x007f8ca1d87888>
Seems fine, re-open if there's more :P
Actions