From cdff8b2bf8a0df7a5329e03d92a9eb2d96ce7741 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 6 Feb 2011 20:22:57 +0100 Subject: [PATCH] [FrameworkBundle] fixed error message for template as an array --- .../Bundle/FrameworkBundle/Templating/DelegatingEngine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Templating/DelegatingEngine.php b/src/Symfony/Bundle/FrameworkBundle/Templating/DelegatingEngine.php index 438d32ee18..8885834462 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Templating/DelegatingEngine.php +++ b/src/Symfony/Bundle/FrameworkBundle/Templating/DelegatingEngine.php @@ -69,7 +69,7 @@ class DelegatingEngine extends BaseDelegatingEngine implements EngineInterface } } - throw new \RuntimeException(sprintf('No engine is able to work with the "%s" template.', $name)); + throw new \RuntimeException(sprintf('No engine is able to work with the %s template.', json_encode($name))); } /**