[FrameworkBundle] fixed error message for template as an array

This commit is contained in:
Fabien Potencier 2011-02-06 20:22:57 +01:00
parent 2316c90ec2
commit cdff8b2bf8

View File

@ -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)));
}
/**