Improve template error messages to include expected end tag
|Reported by:||Owned by:||Matthias Kestenholz|
|Cc:||mk@…||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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)
comment:1 Changed 9 years ago by
|Summary:||Improve template diagnostic → Improve template error messages to include expected end tag|
|Triage Stage:||Unreviewed → Accepted|
comment:2 Changed 9 years ago by
|Owner:||changed from nobody to Matthias Kestenholz|
|Status:||new → assigned|