From ae1bc89a0862cfac7610c19f88d9e017b7497038 Mon Sep 17 00:00:00 2001 From: Eugene Bravov Date: Fri, 30 Dec 2016 12:02:10 +0300 Subject: [PATCH] add entry type to throw exception --- .../TwigWebpackExtension/TokenParser/EntryTokenParser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fullpipe/TwigWebpackExtension/TokenParser/EntryTokenParser.php b/src/Fullpipe/TwigWebpackExtension/TokenParser/EntryTokenParser.php index cc175cb..3ab6ecc 100644 --- a/src/Fullpipe/TwigWebpackExtension/TokenParser/EntryTokenParser.php +++ b/src/Fullpipe/TwigWebpackExtension/TokenParser/EntryTokenParser.php @@ -40,7 +40,7 @@ public function parse(\Twig_Token $token) $assets[] = $this->generateHtml($entryPath); } else { throw new \Twig_Error_Loader( - 'Webpack entry ' . $entryName . ' not exists.', + 'Webpack ' . $this->type() . ' entry ' . $entryName . ' not exists.', $token->getLine(), $stream->getFilename() );