Skip to content

Commit 9ee6b34

Browse files
fail on missing manifest
1 parent ccc2d00 commit 9ee6b34

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

AssetsBundle/DependencyInjection/DocplannerAssetsExtension.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ public function load(array $configs, ContainerBuilder $container)
6262
$manifest = file_get_contents($manifestFile);
6363
$manifest = @json_decode($manifest, true) ?? [];
6464
}
65+
else
66+
{
67+
throw new \RuntimeException(sprintf('Manifest file `%s` not found', $manifestFile));
68+
}
6569
}
6670

6771
foreach($typeConfig['manifest_assets'] ?? [] as $manifestKey)

0 commit comments

Comments
 (0)