We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d90348 + a1697e2 commit 8c39c9eCopy full SHA for 8c39c9e
Extractor/ExposedRoutesExtractor.php
@@ -147,7 +147,9 @@ public function getCachePath(string $locale = null): string
147
{
148
$cachePath = $this->cacheDir.DIRECTORY_SEPARATOR.'fosJsRouting';
149
if (!file_exists($cachePath)) {
150
- mkdir($cachePath);
+ if (false === @mkdir($cachePath)) {
151
+ throw new \RuntimeException('Unable to create Cache directory ' . $cachePath);
152
+ }
153
}
154
155
if (isset($this->bundles['JMSI18nRoutingBundle'])) {
0 commit comments