It can be hard to debug rules. It would be useful if VPL reports which rule has failed and which node was being replaced (we can report the position of the rule in the original tuple, as in "first rule" and the ID of the node being replaced). This would require intercepting any exception raised within the rule execution within the rewrite! method. Make sure that the original error is passed forward.
It can be hard to debug rules. It would be useful if VPL reports which rule has failed and which node was being replaced (we can report the position of the rule in the original tuple, as in "first rule" and the ID of the node being replaced). This would require intercepting any exception raised within the rule execution within the
rewrite!method. Make sure that the original error is passed forward.