Show exception is checked twice in ExceptionController of twig
This commit is contained in:
parent
f7de083cbd
commit
a433ceca41
@ -125,7 +125,7 @@ class ExceptionController
|
|||||||
// default to a generic HTML exception
|
// default to a generic HTML exception
|
||||||
$request->setRequestFormat('html');
|
$request->setRequestFormat('html');
|
||||||
|
|
||||||
return new TemplateReference('TwigBundle', 'Exception', $showException ? 'exception_full' : $name, 'html', 'twig');
|
return new TemplateReference('TwigBundle', 'Exception', $name, 'html', 'twig');
|
||||||
}
|
}
|
||||||
|
|
||||||
// to be removed when the minimum required version of Twig is >= 3.0
|
// to be removed when the minimum required version of Twig is >= 3.0
|
||||||
|
Reference in New Issue
Block a user