Skip to content

Commit

Permalink
Fix bootstrap command exception
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeplus committed Jun 16, 2016
1 parent f2de69a commit 5f9e1d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Phifty/Command/BootstrapCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
use CodeGen\Comment;
use CodeGen\CommentBlock;
use ReflectionClass;
use Exception;
use LogicException;
use Universal\ClassLoader\Psr4ClassLoader;

Expand Down Expand Up @@ -258,7 +259,7 @@ public function execute()
if (!class_exists($bundleClass, true)) {
$bundleClassFile = $bundleLoader->findBundleClass($bundleName);
if (!$bundleClassFile) {
throw new Exception("bundle class file '$bundleClassFile' doesn't exist.");
throw new Exception("Bundle $bundleName class file '$bundleClassFile' doesn't exist.");
}
require $bundleClassFile;
}
Expand Down

0 comments on commit 5f9e1d3

Please sign in to comment.