[FrameworkBundle] fixed error message for template as an array
This commit is contained in:
parent
2316c90ec2
commit
cdff8b2bf8
@ -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)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user