Ticket #65 (closed defect: duplicate)
Review error handling in template system
| Reported by: | bruno | Owned by: | jgou |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.3 |
| Component: | universe/kauri-template | Version: | trunk |
| Keywords: | Cc: |
Description
This ticket is mostly a reminder to myself.
I just fixed malicious handling of exceptions in rev451, and remember doing something similar at another location in the template system before.
Should do a wider review, and also think about whether specific exception classes make sense.
Change History
Note: See
TracTickets for help on using
tickets.
One extra thing to consider is providing more accurate location information when reporting the error. Next to line and column number it would be kinda neat to know at which URI (or even better: stack of URI's) the exception occured: In a situation with some nested inheritance, include, import, insert statements the current reporting isn't that clear.