Skip to content

Commit 97e1984

Browse files
committed
Merge branch '2.8' into 3.2
* 2.8: Fixes #22264 - add support for Chrome headless, see also Seldaek/monolog#966 bumped Symfony version to 2.8.20 updated VERSION for 2.8.19 updated CHANGELOG for 2.8.19 Dont call sprintf() when no placeholders are used
2 parents 890d378 + ddc8592 commit 97e1984

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Command/ContainerDebugCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,11 @@ protected function getContainerBuilder()
173173
}
174174

175175
if (!$this->getApplication()->getKernel()->isDebug()) {
176-
throw new \LogicException(sprintf('Debug information about the container is only available in debug mode.'));
176+
throw new \LogicException('Debug information about the container is only available in debug mode.');
177177
}
178178

179179
if (!is_file($cachedFile = $this->getContainer()->getParameter('debug.container.dump'))) {
180-
throw new \LogicException(sprintf('Debug information about the container could not be found. Please clear the cache and try again.'));
180+
throw new \LogicException('Debug information about the container could not be found. Please clear the cache and try again.');
181181
}
182182

183183
$container = new ContainerBuilder();

0 commit comments

Comments
 (0)