mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02:00
[feature/twig] Throw exceptions (don't catch and ignore)
PHPBB3-11598
This commit is contained in:
@@ -230,7 +230,7 @@ class phpbb_template_twig implements phpbb_template
|
|||||||
}
|
}
|
||||||
catch (Twig_Error $e)
|
catch (Twig_Error $e)
|
||||||
{
|
{
|
||||||
return false;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user