Closed
Description
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
BC Break report? | no |
RFC? | no |
Symfony version | 3.4 |
Since 3.4 (bug is not there in 3.3), if one of my app Twig extensions throws an exception, I end up with the following message instead of the real exception message :
(2/2) Twig_Error_Syntax
Unknown "abbr_class" filter.
From what I've found, this is because my app Twig extension is added before the Symfony Twig Bridge CodeExtension
which is the one that adds the abbr_class
Twig filter. This filter is used in the default exception.html.twig
template and ends up being never registered. However, it seems it is also the case in previous Symfony version so I don't get why it only bugs in 3.4...
Reproducer incoming