Improve template error messages to include expected end tag
If there's a mismatch for block tags, the exception raised currently is only of limited help to trace it down.
It would be nice if it can be changed e.g. to
Invalid block tag: 'endblock', expected: 'endwidth'
and maybe even print the line of the start block.
Change History
(7)
Summary: |
Improve template diagnostic → Improve template error messages to include expected end tag
|
Triage Stage: |
Unreviewed → Accepted
|
Cc: |
mk@… added
|
Has patch: |
set
|
Owner: |
changed from nobody to Matthias Kestenholz
|
Status: |
new → assigned
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
This would indeed be a great feature.