Add Whoops as error handler
This commit is contained in:
parent
032d8ff101
commit
e516e6cbdf
4 changed files with 152 additions and 7 deletions
|
@ -16,6 +16,7 @@ class BootstrapFactory {
|
|||
*/
|
||||
public function handle()
|
||||
{
|
||||
ExceptionHandler::register();
|
||||
Route::setDefaultNamespace('\App\Http\Controllers');
|
||||
|
||||
require_once('../routes/web.php');
|
||||
|
@ -65,7 +66,7 @@ class BootstrapFactory {
|
|||
}
|
||||
}
|
||||
|
||||
ExceptionHandler::make(ClassNotFoundException::class);
|
||||
ExceptionHandler::make(ClassNotFoundException::class, sprintf("Class '%s' not found", $abstract));
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue