From 8561e187f0e5949750a61bffbd16ab4f56ae7fc1 Mon Sep 17 00:00:00 2001 From: Nathaniel Guse Date: Fri, 14 Jun 2013 09:41:29 -0500 Subject: [PATCH] [feature/twig] Throw exceptions (don't catch and ignore) PHPBB3-11598 --- phpBB/includes/template/twig/twig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/template/twig/twig.php b/phpBB/includes/template/twig/twig.php index c159a77817..ac383e25b5 100644 --- a/phpBB/includes/template/twig/twig.php +++ b/phpBB/includes/template/twig/twig.php @@ -230,7 +230,7 @@ class phpbb_template_twig implements phpbb_template } catch (Twig_Error $e) { - return false; + throw $e; } return true;