For example, on a 2.2 project right now, if I output {{ wheeeeeeeeee }} in a sub template, it's just showing me the first 10 lines of the base template from which everything extends.
Buuuuuuuuut, the context in new_resolve_lookup may well have .template which might have .origin.name on it, which could be used in the exception message to say which template actually died.
For example, on a 2.2 project right now, if I output
{{ wheeeeeeeeee }}
in a sub template, it's just showing me the first 10 lines of the base template from which everything extends.Buuuuuuuuut, the
context
innew_resolve_lookup
may well have.template
which might have.origin.name
on it, which could be used in the exception message to say which template actually died.