You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide extra template error context or debug data when internally generated templates fail to parse or execute.
Expected Behavior
When a template error occurs, return extra debug data for the template error to use as an aid to find the problematic stack or component code.
Use Case
Atmos-generated template parsing or execution failures at least sometimes result in very vague error messages like this:
template: all-atmos-sections:472: function "account" not defined
It would be beneficial if there was some extra context for this internally generated template for debug as the line number in the error message only corresponds to an internally generated template.
Describe Ideal Solution
Something like the following is probably ideal but perhaps a bit complicated:
template: all-atmos-sections:472: function "account" not defined
in template "all-atmos-sections":
472: description: value for {{ account }}
Alternatives Considered
An option to dump the entire template to stderr or some kind of debug log/file would work, too.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Describe the Feature
Provide extra template error context or debug data when internally generated templates fail to parse or execute.
Expected Behavior
When a template error occurs, return extra debug data for the template error to use as an aid to find the problematic stack or component code.
Use Case
Atmos-generated template parsing or execution failures at least sometimes result in very vague error messages like this:
It would be beneficial if there was some extra context for this internally generated template for debug as the line number in the error message only corresponds to an internally generated template.
Describe Ideal Solution
Something like the following is probably ideal but perhaps a bit complicated:
Alternatives Considered
An option to dump the entire template to stderr or some kind of debug log/file would work, too.
Additional Context
No response
The text was updated successfully, but these errors were encountered: