Skip to content

Commit baadc50

Browse files
committed
Adding composer autoloader exception
1 parent bcd7855 commit baadc50

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/AutoloaderService.php

+3
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ public function initialize($strVendorDir = null)
6565
if (file_exists($strComposerAutoloadPath)) {
6666
$this->composerAutoloader = require($strComposerAutoloadPath);
6767
}
68+
else {
69+
throw new \Exception('Cannot find composer autoloader');
70+
}
6871
}
6972

7073
// Register our autoloader, making sure we go after the composer autoloader

0 commit comments

Comments
 (0)