Skip to content

Commit ae28880

Browse files
committed
Throw exception when bootstrap class not found
1 parent 791fcf4 commit ae28880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Bridges/HttpKernel.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function bootstrap($appBootstrap, $appenv)
4141
if (false === class_exists($appBootstrap)) {
4242
$appBootstrap = '\\' . $appBootstrap;
4343
if (false === class_exists($appBootstrap)) {
44-
return false;
44+
throw new \RuntimeException('Could not find bootstrap class ' . $appBootstrap);
4545
}
4646
}
4747

0 commit comments

Comments
 (0)