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.
1 parent e1dec43 commit 65324c7Copy full SHA for 65324c7
src/PatternLab/PatternEngine/Twig/Loaders/PatternLoader.php
@@ -122,7 +122,8 @@ public function render($options = array()) {
122
// outputs the raw Twig file contents like `@atoms/buttons/button.twig`.
123
// @todo Remove this once `Twig_Loader_String` is removed.
124
if (strpos($result, "@") === 0) {
125
- throw new \Twig_Error_Loader("Twig file not found: " . $result . "\n");
+ echo "Twig file not found: " . $result . "\n";
126
+ exit(1);
127
} else {
128
return $result;
129
}
0 commit comments