fabpot/Twig — pull request #853 by brandonkelly (2012-10-03 20:29:07+00:00)
Title: Fixed a bug with sub-templates and strict variables

When you have a variable with a method that ends up initializing Twig for a sub-template, if an exception gets thrown in that sub template and Strict Variables is enabled, Twig_Template would catch that Twig_Error_Runtime exception and think that the problem was with the parent template's variable.

This fix allows the original Twig_Error_Runtime exception to get thrown.