Ticket #65 (closed defect: duplicate)

Opened 5 years ago

Last modified 4 years ago

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

comment:1 Changed 5 years ago by mpo

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.

comment:2 Changed 4 years ago by mpo

  • Status changed from new to closed
  • Resolution set to duplicate

As far as I can tell this is a duplicate of #41.
Please add/copy extra comments there if they make sense.

Note: See TracTickets for help on using tickets.