0.1.3
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Middleware\HandleInertiaRequests;
|
||||
use GuzzleHttp\Exception\ServerException;
|
||||
use Illuminate\Foundation\Application;
|
||||
use Illuminate\Foundation\Configuration\Exceptions;
|
||||
use Illuminate\Foundation\Configuration\Middleware;
|
||||
@@ -23,5 +24,9 @@ return Application::configure(basePath: dirname(__DIR__))
|
||||
//
|
||||
})
|
||||
->withExceptions(function (Exceptions $exceptions) {
|
||||
$exceptions->render(function (ServerException $e, Request $request) {
|
||||
return response()->view('errors', status: 500);
|
||||
});
|
||||
|
||||
Integration::handles($exceptions);
|
||||
})->create();
|
||||
|
||||
Reference in New Issue
Block a user